dotfiles/dot_config/fish/private_functions/update_nvim_theme.fish

6 lines
204 B
Fish
Raw Permalink Normal View History

function update_nvim_theme --description 'Update neovim theme with light/dark mode' --argument theme
2024-11-19 18:00:47 +01:00
for addr in $NVIM_TMP_DIR/**/*
nvim --server $addr --remote-send ":set background=$theme <cr>"
end
end