blob: 94f4e935f071b32c2118afc0be1c5e2d02d9251e (
plain)
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
|
{
config,
lib,
...
}:
{
config = lib.mkIf config.beeMods.windowManagers.dwm.enable {
xdg.configFile."matugen/templates/colors-xresources" = {
text = ''
dwm.normbordercolor : {{colors.outline.default.hex}}
dwm.normfgcolor : {{colors.on_surface.default.hex}}
dwm.selbordercolor : {{colors.primary.default.hex}}
dwm.selfgcolor : {{colors.primary.default.hex}}
dmenu.foreground : {{colors.on_surface.default.hex}}
dmenu.selbackground : {{colors.primary.default.hex}}
dmenu.selforeground : {{colors.on_primary.default.hex}}
<* if {{ is_dark_mode }} *>
dmenu.background : {{colors.background.default.hex}}
st.background: {{colors.surface.default.hex}}
dwm.normbgcolor : {{colors.surface.default.hex}}
dwm.selbgcolor : {{colors.surface_container.default.hex}}
<* else *>
dmenu.background : {{colors.surface_container.default.hex}}
st.background: {{colors.surface_container.default.hex}}
dwm.normbgcolor : {{colors.surface_container.default.hex}}
dwm.selbgcolor : {{colors.secondary_fixed.default.hex}}
<* endif *>
st.foreground: {{colors.on_surface.default.hex}}
st.cursorColor: {{colors.primary.default.hex}}
st.color0 : {{colors.surface_variant.default.hex}}
st.color1 : {{colors.error.default.hex}}
st.color2 : {{colors.primary.default.hex}}
st.color3 : {{colors.secondary.default.hex}}
st.color4 : {{colors.tertiary.default.hex}}
st.color5 : {{colors.primary_fixed_dim.default.hex}}
st.color6 : {{colors.secondary_fixed_dim.default.hex}}
st.color7 : {{colors.on_surface.default.hex}}
st.color8 : {{colors.on_surface_variant.default.hex}}
st.color9 : {{colors.error.default.hex}}
st.color10: {{colors.primary.default.hex}}
st.color11: {{colors.secondary.default.hex}}
st.color12: {{colors.tertiary.default.hex}}
st.color13: {{colors.primary_fixed_dim.default.hex}}
st.color14: {{colors.secondary_fixed_dim.default.hex}}
st.color15: {{colors.on_surface.default.hex}}
'';
};
};
}
|