diff options
| author | beeb5k <beebeeb5k@gmail.com> | 2026-06-06 15:59:26 +0530 |
|---|---|---|
| committer | beeb5k <beebeeb5k@gmail.com> | 2026-06-06 15:59:26 +0530 |
| commit | 54471f0faf2697e55e01ed4a276de0cd921a7c30 (patch) | |
| tree | dc661f9d2c1c2c623072f81fc6b97f9c2fb6c1aa /common/modules/matugen/default.nix | |
| parent | 2709c6aa130f5eea8414573fa1a7c8a18607ad8d (diff) | |
Add noctalia niri and way to switch between my config and noxtalia easily
Diffstat (limited to 'common/modules/matugen/default.nix')
| -rw-r--r-- | common/modules/matugen/default.nix | 16 |
1 files changed, 9 insertions, 7 deletions
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' |
