1
0
mirror of https://github.com/kmein/niveum synced 2026-03-29 08:41:07 +02:00

modularize

This commit is contained in:
Kierán Meinhardt
2019-04-19 03:11:51 +02:00
parent a90799f39b
commit a763c63de4
58 changed files with 1317 additions and 1172 deletions

13
configs/xresources.nix Normal file
View File

@@ -0,0 +1,13 @@
{ lib, ... }:
let theme = import <dot/theme.nix>;
in {
home-manager.users.me.xresources.properties = {
"*background" = theme.colorScheme.background;
"*foreground" = theme.colorScheme.foreground;
"*fadeColor" = theme.colorScheme.background;
"*cursorColor" = theme.colorScheme.cursorColor;
"*.font" = "xft:${theme.terminalFont.name}:size=${toString theme.terminalFont.size}";
"*.boldFont" = "xft:${theme.terminalFont.name}:style=Bold:size=${toString theme.terminalFont.size}";
"*.italicFont" = "xft:${theme.terminalFont.name}:style=Italic:size=${toString theme.terminalFont.size}";
} // lib.lists.foldr (i: cs: cs // { "*color${toString i}" = builtins.elemAt theme.colorPalette i; }) {} (lib.lists.range 0 15);
}