add dark/light mode functions

This commit is contained in:
Gabriel Augendre 2024-11-17 17:17:32 +01:00
parent 50d0e88606
commit b1efeb328f
2 changed files with 8 additions and 0 deletions

View file

@ -0,0 +1,4 @@
function dark --description 'Set shell theme to dark mode, including neovim'
yes | fish_config theme save "Catppuccin Mocha"
update_nvim_theme dark
end

View file

@ -0,0 +1,4 @@
function light --description 'Set shell theme to light mode, including neovim'
yes | fish_config theme save "Catppuccin Latte"
update_nvim_theme light
end