Reload nvim in switch-theme

This commit is contained in:
coolneng 2022-05-08 21:04:31 +02:00
parent 857e154ece
commit 37a26b83d3
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 3 additions and 0 deletions

View File

@ -20,6 +20,9 @@ change_theme() {
sed -i "s/iceberg_$1/iceberg_$2/" ~/.config/zathura/zathurarc
kitty +kitten themes --reload-in=all "Iceberg $(capitalize "$2")"
tmux source-file ~/.tmux.conf
nvr --remote-send ":source ~/.config/nvim/init.vim <CR>"
nvr --remote-send ":set nonumber <CR>"
nvr --remote-send ":set norelativenumber <CR>"
}
recolor_zathura() {