diff options
| author | bee <beebeeb5k@gmail.com> | 2026-05-01 23:45:21 +0530 |
|---|---|---|
| committer | bee <beebeeb5k@gmail.com> | 2026-05-01 23:45:21 +0530 |
| commit | cd08309515bce3796777f4b20efffd379b9fabcc (patch) | |
| tree | 9bc843dc067983511b31139b5c71afdd12a8e20e /common/modules/matugen | |
| parent | 1bb49481dbec223e68df4f60fa1d425525e16cff (diff) | |
Homecoming
Diffstat (limited to 'common/modules/matugen')
| -rw-r--r-- | common/modules/matugen/default.nix | 10 | ||||
| -rw-r--r-- | common/modules/matugen/templates/matugen-mango.nix | 2 | ||||
| -rw-r--r-- | common/modules/matugen/templates/matugen-neovim.nix | 28 | ||||
| -rw-r--r-- | common/modules/matugen/templates/matugen-xresources.nix | 2 |
4 files changed, 4 insertions, 38 deletions
diff --git a/common/modules/matugen/default.nix b/common/modules/matugen/default.nix index 6bf73a2..ecc9255 100644 --- a/common/modules/matugen/default.nix +++ b/common/modules/matugen/default.nix @@ -48,7 +48,7 @@ in output_path = '~/.config/zathura/matugen' ''} - ${lib.optionalString config.beeMods.mango.enable '' + ${lib.optionalString config.beeMods.windowManagers.mango.enable '' [templates.mango] input_path = '~/.config/matugen/templates/mango.conf' output_path = '~/.config/mango/mango-colors.conf' @@ -67,7 +67,7 @@ in output_path = '~/.config/yazi/theme.toml' ''} - ${lib.optionalString (config.beeMods.dwm.enable) '' + ${lib.optionalString (config.beeMods.windowManagers.dwm.enable) '' [templates.Xresources] input_path = "~/.config/matugen/templates/colors-xresources" output_path = "~/.config/x11/matugen.Xresources" @@ -86,12 +86,6 @@ in post_hook = "dunstctl reload" ''} - ${lib.optionalString config.beeMods.beeVim.enable '' - [templates.neovim] - input_path = "~/.config/matugen/templates/neovim.json" - output_path = "~/.config/matugen/neovim_matugen.json" - ''} - ${lib.optionalString (config.beeMods.terminal.default == "foot" || config.beeMods.terminal.default == "ghostty") '' diff --git a/common/modules/matugen/templates/matugen-mango.nix b/common/modules/matugen/templates/matugen-mango.nix index b6a89b2..385e212 100644 --- a/common/modules/matugen/templates/matugen-mango.nix +++ b/common/modules/matugen/templates/matugen-mango.nix @@ -4,7 +4,7 @@ ... }: { - config = lib.mkIf config.beeMods.mango.enable { + config = lib.mkIf config.beeMods.windowManagers.mango.enable { xdg.configFile = { "matugen/templates/mango.conf" = { text = '' diff --git a/common/modules/matugen/templates/matugen-neovim.nix b/common/modules/matugen/templates/matugen-neovim.nix deleted file mode 100644 index dcb84a2..0000000 --- a/common/modules/matugen/templates/matugen-neovim.nix +++ /dev/null @@ -1,28 +0,0 @@ -{ - config, - lib, - ... -}: -{ - config = lib.mkIf config.beeMods.beeVim.enable { - xdg.configFile = { - "matugen/templates/neovim.json" = { - text = - # json - '' - { - "source_color": "{{colors.primary.default.hex}}", - <* if {{ is_dark_mode }} *> - "background": "{{colors.background.default.hex}}", - <* else *> - "background": "{{colors.surface_container.default.hex}}", - <* endif *> - "harmony": 0.5, - "mode": "{{mode}}" - } - ''; - - }; - }; - }; -} diff --git a/common/modules/matugen/templates/matugen-xresources.nix b/common/modules/matugen/templates/matugen-xresources.nix index f33fda2..292f0f2 100644 --- a/common/modules/matugen/templates/matugen-xresources.nix +++ b/common/modules/matugen/templates/matugen-xresources.nix @@ -4,7 +4,7 @@ ... }: { - config = lib.mkIf config.beeMods.mango.enable { + config = lib.mkIf config.beeMods.windowManagers.dwm.enable { xdg.configFile."matugen/templates/colors-xresources" = { text = '' dwm.normbordercolor : {{colors.outline.default.hex}} |
