mirror of
https://github.com/Crocmagnon/dotfiles.git
synced 2024-11-23 06:58:04 +01:00
6 lines
254 B
Fish
6 lines
254 B
Fish
|
function update_nvim_theme --description 'Update neovim theme with light/dark mode' --argument theme
|
||
|
for addr in /var/folders/7r/l55lwv013hl_g8gc971k7kgw0000gn/T/nvim.gaugendre/**/*
|
||
|
nvim --server $addr --remote-send ":set background=$theme <cr>"
|
||
|
end
|
||
|
end
|