mirror of
https://github.com/kmein/niveum
synced 2026-03-16 10:11:08 +01:00
14 lines
743 B
Nix
14 lines
743 B
Nix
{ 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);
|
|
}
|