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
|
{
config,
lib,
...
}:
{
config = lib.mkIf config.programs.rofi.enable {
xdg.configFile = {
"matugen/templates/pywalfox-colors.json" = {
text = ''
{
"wallpaper": "{{image}}",
"alpha": "100",
"colors": {
"color0": "{{colors.background.dark.hex}}",
"color1": "{{colors.surface_container_highest.light.hex}}",
"color2": "{{colors.surface_container_lowest.light.hex}}",
"color3": "{{colors.primary.light.hex}}",
"color4": "{{colors.tertiary_fixed.default.hex}}",
"color5": "{{colors.secondary.light.hex}}",
"color6": "{{colors.on_tertiary_fixed.default.hex}}",
"color7": "{{colors.surface_dim.light.hex}}",
"color8": "{{colors.on_secondary.light.hex}}",
"color9": "{{colors.error_container.default.hex}}",
"color10": "{{colors.primary.dark.hex}}",
"color11": "{{colors.on_error_container.default.hex}}",
"color12": "{{colors.on_primary_fixed_variant.default.hex}}",
"color13": "{{colors.secondary.dark.hex}}",
"color14": "{{colors.inverse_primary.default.hex}}",
"color15": "{{colors.on_surface.dark.hex}}"
}
}
'';
};
};
};
}
|