diff options
| author | brustybee <bee@4d2.org> | 2026-03-25 01:00:42 +0530 |
|---|---|---|
| committer | brustybee <bee@4d2.org> | 2026-03-25 01:00:42 +0530 |
| commit | a2f09d4f75cf9d00fa225bf3a75a01a23b6feeaa (patch) | |
| tree | cc8c185f1f2d351d9cbd16fa47621af61512fd75 /common/modules/matugen/default.nix | |
| parent | bd007ed24262fd6fad5de586e35955b65854edfb (diff) | |
lot is a lot
Diffstat (limited to 'common/modules/matugen/default.nix')
| -rw-r--r-- | common/modules/matugen/default.nix | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/common/modules/matugen/default.nix b/common/modules/matugen/default.nix index e9e9252..5ce3014 100644 --- a/common/modules/matugen/default.nix +++ b/common/modules/matugen/default.nix @@ -43,15 +43,15 @@ in color_space = "salience"; check_contrast = true; templates = { - foot = { + foot = lib.mkIf config.beeMods.terminal.foot { template = "foot-colors.ini"; target = "~/.config/foot/colors.ini"; }; - alacritty = { + alacritty = lib.mkIf config.beeMods.terminal.alacritty { template = "alacritty-colors.toml"; target = "~/.config/alacritty/colors.toml"; }; - ghostty = { + ghostty = lib.mkIf config.beeMods.terminal.ghostty { template = "ghostty-colors.conf"; target = "~/.config/ghostty/colors.conf"; }; @@ -59,11 +59,11 @@ in template = "userChrome.css"; target = "~/.cache/wallust/userChrome.css"; }; - xresources = { + xresources = lib.mkIf config.beeMods.dwm.enable { template = "colors-xresources"; target = "~/.config/x11/matugen.Xresources"; }; - sequences = { + sequences = lib.mkIf (config.beeMods.terminal.default == "foot") { template = "sequences"; target = "~/.config/sequences"; }; @@ -180,14 +180,16 @@ in output_path = "~/.config/matugen/neovim_matugen.json" ''} + ${lib.optionalString (config.beeMods.terminal.default == "foot") '' + [templates.sequences] + input_path = '~/.config/matugen/templates/sequences' + output_path = '~/.config/wallust/templates/sequences' + ''} + [templates.zed] input_path = '~/.config/matugen/templates/zed.json' output_path = '~/.config/zed/themes/matugen.json' - [templates.sequences] - input_path = '~/.config/matugen/templates/sequences' - output_path = '~/.config/wallust/templates/sequences' - [templates.zen] input_path = '~/.config/matugen/templates/zen.css' output_path = '~/.config/wallust/templates/userChrome.css' |
