blob: 2241c6db020f25bf1c5a2b328bafe305dc360339 (
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
|
{
config,
lib,
...
}:
{
config = lib.mkIf config.programs.rofi.enable {
xdg.configFile = {
"matugen/templates/rofi-colors.rasi" = {
text =
# rasi
''
* {
<* if {{ is_dark_mode }} *>
background: {{colors.surface.default.hex}};
background-alt: {{colors.surface_container.default.hex}};
<* else *>
background: {{colors.surface_container.default.hex}};
background-alt: {{colors.surface_container_high.default.hex}};
<* endif *>
foreground: {{colors.on_surface.default.hex}};
selected: {{colors.primary.default.hex}};
active: {{colors.secondary.default.hex}};
urgent: {{colors.error.default.hex}};
}
'';
};
};
};
}
|