From cd08309515bce3796777f4b20efffd379b9fabcc Mon Sep 17 00:00:00 2001 From: bee Date: Fri, 1 May 2026 23:45:21 +0530 Subject: Homecoming --- common/modules/matugen/default.nix | 10 ++------ common/modules/matugen/templates/matugen-mango.nix | 2 +- .../modules/matugen/templates/matugen-neovim.nix | 28 ---------------------- .../matugen/templates/matugen-xresources.nix | 2 +- 4 files changed, 4 insertions(+), 38 deletions(-) delete mode 100644 common/modules/matugen/templates/matugen-neovim.nix (limited to 'common/modules/matugen') 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}} -- cgit v1.3.1