summaryrefslogtreecommitdiff
path: root/common/modules/matugen
diff options
context:
space:
mode:
authorbrustybee <beebeeb5k@gmail.com>2026-04-03 18:17:46 +0530
committerbrustybee <beebeeb5k@gmail.com>2026-04-03 18:17:46 +0530
commitf8223622fed02aef1075d41e4dba090df81bf6c1 (patch)
treedcff61f6f82dd6be4a8f31ab284e0fd41b53d9ad /common/modules/matugen
parenta4a87bd11e228a2a57bfedd48d3594371cf40329 (diff)
YEP.
Diffstat (limited to 'common/modules/matugen')
-rw-r--r--common/modules/matugen/default.nix7
1 files changed, 3 insertions, 4 deletions
diff --git a/common/modules/matugen/default.nix b/common/modules/matugen/default.nix
index de39a06..a9aaaae 100644
--- a/common/modules/matugen/default.nix
+++ b/common/modules/matugen/default.nix
@@ -59,7 +59,7 @@ in
template = "userChrome.css";
target = "~/.cache/wallust/userChrome.css";
};
- xresources = lib.mkIf config.beeMods.dwm.enable {
+ xresources = lib.mkIf (config.beeMods.x11.dwm.enable || config.beeMods.x11.bspwm.enable) {
template = "colors-xresources";
target = "~/.config/x11/matugen.Xresources";
};
@@ -132,13 +132,12 @@ in
output_path = '~/.config/yazi/theme.toml'
''}
- ${lib.optionalString config.beeMods.dwm.enable ''
+ ${lib.optionalString (config.beeMods.x11.dwm.enable || config.beeMods.x11.bspwm.enable) ''
[templates.Xresources]
input_path = "~/.config/matugen/templates/colors-xresources"
output_path = "~/.config/wallust/templates/colors-xresources"
''}
-
${lib.optionalString config.programs.vesktop.enable ''
[templates.vesktop]
input_path = "~/.config/matugen/templates/vesktop.css"
@@ -191,7 +190,7 @@ in
''
}
- ${lib.optionalString config.beeMods.bspwm.enable ''
+ ${lib.optionalString config.beeMods.x11.bspwm.enable ''
[templates.bspwm]
input_path = "~/.config/matugen/templates/bspwm-colors"
output_path = "~/.config/bspwm/colors"