From 54471f0faf2697e55e01ed4a276de0cd921a7c30 Mon Sep 17 00:00:00 2001 From: beeb5k Date: Sat, 6 Jun 2026 15:59:26 +0530 Subject: Add noctalia niri and way to switch between my config and noxtalia easily --- common/modules/matugen/default.nix | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'common/modules/matugen/default.nix') diff --git a/common/modules/matugen/default.nix b/common/modules/matugen/default.nix index 6eb8182..9e9f3d6 100644 --- a/common/modules/matugen/default.nix +++ b/common/modules/matugen/default.nix @@ -21,7 +21,7 @@ in enable = lib.mkEnableOption "Enable Dynamic colors"; }; - config = lib.mkIf cfg.enable ( + config = lib.mkIf (cfg.enable && config.beeMods.windowManagers.beeConfig.enable) ( lib.optionalAttrs homeManager { xdg.configFile = { "matugen/config.toml" = { @@ -96,13 +96,15 @@ in output_path = '~/.config/rofi/shared/colors.rasi' ''} - [templates.gtk3] - input_path = '~/.config/matugen/templates/gtk.css' - output_path = '~/.config/gtk-3.0/matugen.css' + ${lib.optionalString (config.gtk.theme.name == "adw-gtk3") '' + [templates.gtk3] + input_path = '~/.config/matugen/templates/gtk.css' + output_path = '~/.config/gtk-3.0/matugen.css' - [templates.gtk4] - input_path = '~/.config/matugen/templates/gtk.css' - output_path = '~/.config/gtk-4.0/matugen.css' + [templates.gtk4] + input_path = '~/.config/matugen/templates/gtk.css' + output_path = '~/.config/gtk-4.0/matugen.css' + ''} [templates.neovim] input_path = '~/.config/matugen/templates/neovim.json' -- cgit v1.3.1