summaryrefslogtreecommitdiff
path: root/common/modules/matugen/templates/matugen-pywalfox.nix
diff options
context:
space:
mode:
Diffstat (limited to 'common/modules/matugen/templates/matugen-pywalfox.nix')
-rw-r--r--common/modules/matugen/templates/matugen-pywalfox.nix37
1 files changed, 37 insertions, 0 deletions
diff --git a/common/modules/matugen/templates/matugen-pywalfox.nix b/common/modules/matugen/templates/matugen-pywalfox.nix
new file mode 100644
index 0000000..d6ede07
--- /dev/null
+++ b/common/modules/matugen/templates/matugen-pywalfox.nix
@@ -0,0 +1,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}}"
+ }
+ }
+ '';
+ };
+ };
+ };
+}