1
0
mirror of https://github.com/kmein/niveum synced 2026-03-16 10:11:08 +01:00
Files
niveum/dot/xresources.nix

17 lines
831 B
Nix
Raw Normal View History

{ lib }:
let theme = import ../theme.nix;
in with lib; lists.foldr
(i: cs: cs // { "*color${toString i}" = builtins.elemAt theme.colorPalette i; })
{
"*background" = theme.colorScheme.background;
"*foreground" = theme.colorScheme.foreground;
"*fadeColor" = theme.colorScheme.fadeColor;
"*cursorColor" = theme.colorScheme.cursorColor;
"*pointerColorForeground" = theme.colorScheme.pointerColorForeground;
"*pointerColorBackground" = theme.colorScheme.pointerColorBackground;
"*.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}";
}
(lists.range 0 15)