summaryrefslogtreecommitdiff
path: root/common/modules/matugen
diff options
context:
space:
mode:
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"