diff --git a/dot_config/fish/conf.d/30-lazygit.fish.tmpl b/dot_config/fish/conf.d/30-lazygit.fish.tmpl index 27dd3e6..7464788 100644 --- a/dot_config/fish/conf.d/30-lazygit.fish.tmpl +++ b/dot_config/fish/conf.d/30-lazygit.fish.tmpl @@ -1,7 +1,11 @@ #!/usr/bin/env fish function lzg --wraps=lazygit - set -f configs "$XDG_CONFIG_HOME/lazygit/config.yml,$HOME/.themes/lazygit/{{ .drapeau.colors.name }}/themes-mergable/{{ .drapeau.colors.flavor }}/pink.yml" + {{ if eq .drapeau.colors.name "catppuccin" -}} + set -f configs "$XDG_CONFIG_HOME/lazygit/config.yml,$XDG_CONFIG_HOME/lazygit/{{ .drapeau.colors.name }}/themes-mergable/{{ .drapeau.colors.flavor }}/pink.yml" + {{ else -}} + set -f configs "$XDG_CONFIG_HOME/lazygit/config.yml" + {{ end -}} lazygit --use-config-file="$configs" end