From f8223622fed02aef1075d41e4dba090df81bf6c1 Mon Sep 17 00:00:00 2001 From: brustybee Date: Fri, 3 Apr 2026 18:17:46 +0530 Subject: YEP. --- common/modules/matugen/default.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'common/modules/matugen/default.nix') 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" -- cgit v1.3.1