From 7e530792465c8b9fbbfbe401e78ddcb40370b36a Mon Sep 17 00:00:00 2001 From: coolneng Date: Tue, 10 May 2022 03:27:25 +0200 Subject: [PATCH] Remove multiple invocations of nvr in switch-theme --- scripts/.local/share/scripts/switch-theme | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/scripts/.local/share/scripts/switch-theme b/scripts/.local/share/scripts/switch-theme index ffdf46b..d28ecd0 100755 --- a/scripts/.local/share/scripts/switch-theme +++ b/scripts/.local/share/scripts/switch-theme @@ -20,9 +20,7 @@ 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 " - nvr --remote-send ":set nonumber " - nvr --remote-send ":set norelativenumber " + nvr --remote-send ":source ~/.config/nvim/init.vim :set nonumber :set norelativenumber " } recolor_zathura() {