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/templates/matugen-mango.nix | |
| parent | 2709c6aa130f5eea8414573fa1a7c8a18607ad8d (diff) | |
Add noctalia niri and way to switch between my config and noxtalia easily
Diffstat (limited to 'common/modules/matugen/templates/matugen-mango.nix')
| -rw-r--r-- | common/modules/matugen/templates/matugen-mango.nix | 33 |
1 files changed, 18 insertions, 15 deletions
diff --git a/common/modules/matugen/templates/matugen-mango.nix b/common/modules/matugen/templates/matugen-mango.nix index 7645ba9..440c4a9 100644 --- a/common/modules/matugen/templates/matugen-mango.nix +++ b/common/modules/matugen/templates/matugen-mango.nix @@ -4,20 +4,23 @@ ... }: { - config = lib.mkIf config.beeMods.windowManagers.mango.enable { - xdg.configFile = { - "matugen/templates/mango.conf" = { - text = '' - rootcolor={{colors.background.default.hex_stripped}}ff - bordercolor={{colors.outline_variant.default.hex_stripped}}ff - focuscolor={{colors.primary.default.hex_stripped}}ff - maximizescreencolor={{colors.secondary_container.default.hex_stripped}}ff - urgentcolor={{colors.error.default.hex_stripped}}ff - scratchpadcolor={{colors.tertiary.default.hex_stripped}}ff - globalcolor={{colors.secondary_container.default.hex_stripped}}ff - overlaycolor={{colors.tertiary_container.default.hex_stripped}}ff - ''; + config = + lib.mkIf + (config.beeMods.windowManagers.mango.enable && config.beeMods.windowManagers.beeConfig.enable) + { + xdg.configFile = { + "matugen/templates/mango.conf" = { + text = '' + rootcolor={{colors.background.default.hex_stripped}}ff + bordercolor={{colors.outline_variant.default.hex_stripped}}ff + focuscolor={{colors.primary.default.hex_stripped}}ff + maximizescreencolor={{colors.secondary_container.default.hex_stripped}}ff + urgentcolor={{colors.error.default.hex_stripped}}ff + scratchpadcolor={{colors.tertiary.default.hex_stripped}}ff + globalcolor={{colors.secondary_container.default.hex_stripped}}ff + overlaycolor={{colors.tertiary_container.default.hex_stripped}}ff + ''; + }; + }; }; - }; - }; } |
