mirror of
https://github.com/Crocmagnon/dotfiles.git
synced 2024-12-21 21:31:50 +01:00
add dark/light mode functions
This commit is contained in:
parent
50d0e88606
commit
b1efeb328f
2 changed files with 8 additions and 0 deletions
4
dot_config/fish/private_functions/dark.fish
Normal file
4
dot_config/fish/private_functions/dark.fish
Normal 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
|
4
dot_config/fish/private_functions/light.fish
Normal file
4
dot_config/fish/private_functions/light.fish
Normal 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
|
Loading…
Reference in a new issue