Remove multiple invocations of nvr in switch-theme

This commit is contained in:
coolneng 2022-05-10 03:27:25 +02:00
parent 2aaf0d58c1
commit 7e53079246
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 1 additions and 3 deletions

View File

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