From 37a26b83d31e75f9f1e52df9f13aab2eec0c8554 Mon Sep 17 00:00:00 2001 From: coolneng Date: Sun, 8 May 2022 21:04:31 +0200 Subject: [PATCH] Reload nvim in switch-theme --- scripts/.local/share/scripts/switch-theme | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/.local/share/scripts/switch-theme b/scripts/.local/share/scripts/switch-theme index 730a805..ffdf46b 100755 --- a/scripts/.local/share/scripts/switch-theme +++ b/scripts/.local/share/scripts/switch-theme @@ -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 " + nvr --remote-send ":set nonumber " + nvr --remote-send ":set norelativenumber " } recolor_zathura() {