diff --git a/dot_config/fish/fish_plugins b/dot_config/fish/fish_plugins index f5b16b5..1c79101 100644 --- a/dot_config/fish/fish_plugins +++ b/dot_config/fish/fish_plugins @@ -4,3 +4,4 @@ franciscolourenco/done jorgebucaran/autopair.fish PatrickF1/fzf.fish IlanCosman/tide@v6 +catppuccin/fish diff --git a/dot_config/fish/private_functions/update_theme.fish b/dot_config/fish/private_functions/update_theme.fish new file mode 100644 index 0000000..403eff4 --- /dev/null +++ b/dot_config/fish/private_functions/update_theme.fish @@ -0,0 +1,7 @@ +function update_theme --on-variable macOS_Theme + if [ "$macOS_Theme" = "dark" ] + yes | fish_config theme save "Catppuccin Mocha" + else if [ "$macOS_Theme" = "light" ] + yes | fish_config theme save "Catppuccin Latte" + end +end