summaryrefslogtreecommitdiff
path: root/common/modules/matugen/templates/matugen-xresources.nix
diff options
context:
space:
mode:
authorbeeb5k <beebeeb5k@gmail.com>2026-03-06 21:37:34 +0530
committerbeeb5k <beebeeb5k@gmail.com>2026-03-06 21:37:34 +0530
commit0de067092c9dd19c3352554e39de73e172f29b42 (patch)
tree4175503766405733846687efdb29657bb322dccd /common/modules/matugen/templates/matugen-xresources.nix
parentf1de2014dcd426e015a2638222160d9d349ea4e5 (diff)
Add modules
Diffstat (limited to 'common/modules/matugen/templates/matugen-xresources.nix')
-rw-r--r--common/modules/matugen/templates/matugen-xresources.nix47
1 files changed, 47 insertions, 0 deletions
diff --git a/common/modules/matugen/templates/matugen-xresources.nix b/common/modules/matugen/templates/matugen-xresources.nix
new file mode 100644
index 0000000..614a4bc
--- /dev/null
+++ b/common/modules/matugen/templates/matugen-xresources.nix
@@ -0,0 +1,47 @@
+{
+ config,
+ lib,
+ ...
+}:
+{
+ config = lib.mkIf config.beeMods.mango.enable {
+ xdg.configFile."matugen/templates/colors-xresources" = {
+ text = ''
+ dwm.normbordercolor : {{colors.outline.default.hex}}
+ dwm.normbgcolor : {{colors.surface.default.hex}}
+ dwm.normfgcolor : {{colors.on_surface.default.hex}}
+ dwm.selbordercolor : {{colors.primary.default.hex}}
+ dwm.selbgcolor : {{colors.surface_container.default.hex}}
+ dwm.selfgcolor : {{colors.primary.default.hex}}
+
+ st.background: {{colors.surface.default.hex}}
+ st.foreground: {{colors.on_surface.default.hex}}
+ st.cursorColor: {{colors.primary.default.hex}}
+
+ st.color0: \{{color0}}
+ st.color8: \{{color8}}
+
+ st.color1: \{{color1}}
+ st.color9: \{{color9}}
+
+ st.color2: \{{color2}}
+ st.color10: \{{color10}}
+
+ st.color3: \{{color3}}
+ st.color11: \{{color11}}
+
+ st.color4: \{{color4}}
+ st.color12: \{{color12}}
+
+ st.color5: \{{color5}}
+ st.color13: \{{color13}}
+
+ st.color6: \{{color6}}
+ st.color14: \{{color14}}
+
+ st.color7: \{{color7}}
+ st.color15: \{{color15}}
+ '';
+ };
+ };
+}