dotfiles/dot_config/fish/private_functions/update_theme.fish

7 lines
248 B
Fish

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