2019-04-19 03:11:51 +02:00
|
|
|
{ lib, ... }:
|
2019-04-11 07:43:08 +02:00
|
|
|
let theme = import <dot/theme.nix>;
|
2019-04-19 03:11:51 +02:00
|
|
|
in {
|
|
|
|
|
home-manager.users.me.xresources.properties = {
|
2018-12-30 14:34:39 +01:00
|
|
|
"*background" = theme.colorScheme.background;
|
|
|
|
|
"*foreground" = theme.colorScheme.foreground;
|
2019-04-13 23:06:57 +02:00
|
|
|
"*fadeColor" = theme.colorScheme.background;
|
2018-12-30 14:34:39 +01:00
|
|
|
"*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}";
|
2019-04-19 03:11:51 +02:00
|
|
|
} // lib.lists.foldr (i: cs: cs // { "*color${toString i}" = builtins.elemAt theme.colorPalette i; }) {} (lib.lists.range 0 15);
|
|
|
|
|
}
|