fix(sunset|sunrise): also apply to vim and vi aliases

This commit is contained in:
Tine 2024-04-23 09:42:31 +02:00
parent 5a10ec49a8
commit eab51deeff
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View file

@ -6,7 +6,7 @@ echo "include themes/rose-pine-dawn.conf" >$HOME/.config/kitty/theme.conf
kill -SIGUSR1 $(pidof kitty) kill -SIGUSR1 $(pidof kitty)
# Neovim # Neovim
kill -SIGUSR1 $(pidof nvim) kill -SIGUSR1 $(pidof nvim) $(pidof vim) $(pidof vi)
# Bat # Bat
sed -i "s/--theme=.*/--theme=OneHalfLight/g" ${CONFIG_DIR}/bat/config sed -i "s/--theme=.*/--theme=OneHalfLight/g" ${CONFIG_DIR}/bat/config

View file

@ -6,7 +6,7 @@ echo "include themes/rose-pine-moon.conf" >$HOME/.config/kitty/theme.conf
kill -SIGUSR1 $(pidof kitty) kill -SIGUSR1 $(pidof kitty)
# Neovim # Neovim
kill -SIGUSR1 $(pidof nvim) kill -SIGUSR1 $(pidof nvim) $(pidof vim) $(pidof vi)
# Bat # Bat
sed -i "s/--theme=.*/--theme=OneHalfDark/g" ${CONFIG_DIR}/bat/config sed -i "s/--theme=.*/--theme=OneHalfDark/g" ${CONFIG_DIR}/bat/config