mirror of
https://github.com/Crocmagnon/dotfiles.git
synced 2024-11-22 22:48:05 +01:00
8 lines
248 B
Fish
8 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
|