From eab51deeff44e555e694d86e6017f4ecdee48406 Mon Sep 17 00:00:00 2001 From: Tine Date: Tue, 23 Apr 2024 09:42:31 +0200 Subject: [PATCH] fix(sunset|sunrise): also apply to vim and vi aliases --- scripts/sunrise.sh | 2 +- scripts/sunset.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/sunrise.sh b/scripts/sunrise.sh index d16b328..99add64 100755 --- a/scripts/sunrise.sh +++ b/scripts/sunrise.sh @@ -6,7 +6,7 @@ echo "include themes/rose-pine-dawn.conf" >$HOME/.config/kitty/theme.conf kill -SIGUSR1 $(pidof kitty) # Neovim -kill -SIGUSR1 $(pidof nvim) +kill -SIGUSR1 $(pidof nvim) $(pidof vim) $(pidof vi) # Bat sed -i "s/--theme=.*/--theme=OneHalfLight/g" ${CONFIG_DIR}/bat/config diff --git a/scripts/sunset.sh b/scripts/sunset.sh index db62a0b..124878a 100755 --- a/scripts/sunset.sh +++ b/scripts/sunset.sh @@ -6,7 +6,7 @@ echo "include themes/rose-pine-moon.conf" >$HOME/.config/kitty/theme.conf kill -SIGUSR1 $(pidof kitty) # Neovim -kill -SIGUSR1 $(pidof nvim) +kill -SIGUSR1 $(pidof nvim) $(pidof vim) $(pidof vi) # Bat sed -i "s/--theme=.*/--theme=OneHalfDark/g" ${CONFIG_DIR}/bat/config