aboutsummaryrefslogtreecommitdiff
path: root/modules/xresources.home.nix
blob: 4f83d45e77f43a5fd11f8984dcb8e1ac6068b40d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
{ ... }:
{
  xresources.properties =
    let
      theme = import ./xresources/dark.nix;
    in
    {
      "*.foreground" = theme.foreground;
      "*.background" = theme.background;
      "*.cursorColor" = theme.foreground;
      "*.accent" = theme.accent;

      "*.color0" = "#171717";
      "*.color8" = "#555555";

      "*.color1" = "#e06c75";
      "*.color9" = "#7c162e";

      "*.color2" = "#98C379";
      "*.color10" = "#a3be8c";

      "*.color3" = "#E5C07B";
      "*.color11" = "#f7b731";

      "*.color4" = "#60a3bc";
      "*.color12" = "#5e81ac";

      "*.color5" = "#4e3aA3";
      "*.color13" = "#4e3aA3";

      "*.color6" = "#56B6C2";
      "*.color14" = "#042f2f";

      "*.color7" = "#ABB2BF";
      "*.color15" = "#ebdbb2";

      "dmenu.background" = theme.background;
      "dmenu.foreground" = theme.foreground;
      "dmenu.selbackground" = theme.accent;
      "dmenu.selforeground" = theme.foreground;

      "dmenu.highlightbg" = theme.background;
      "dmenu.highlightfg" = theme.accent;
      "dmenu.highlightselbg" = theme.accent;
      "dmenu.highlightselfg" = theme.background;

      "dwm.normbordercolor" = theme.background-light;
      "dwm.normbgcolor" = theme.background;
      "dwm.normfgcolor" = theme.foreground;

      "dwm.selbordercolor" = theme.accent;
      "dwm.selbgcolor" = theme.accent;
      "dwm.selfgcolor" = theme.foreground;
    };
}