Add signals to reload the st terminal in darkman scripts

This commit is contained in:
ant 2024-12-31 14:09:30 +01:00
parent 6df372caad
commit 36a0e6b834
2 changed files with 10 additions and 0 deletions

View file

@ -15,6 +15,8 @@ if test $LIGHT = 1;
ln -rs ~/.config/kitty/light.conf ~/.config/kitty/colors.conf
kill -SIGUSR1 $(pgrep kitty) # reload kitty config
kill -SIGUSR1 $(pgrep st) # reload st config
rm -f ~/.local/share/bg/*
ln -rs ~/.local/share/bg-light.* ~/.local/share/bg/
${pkgs.hyprland}/bin/hyprctl reload
@ -30,6 +32,8 @@ else
ln -rs ~/.config/kitty/dark.conf ~/.config/kitty/colors.conf
kill -SIGUSR1 $(pgrep kitty) # reload kitty config
kill -SIGUSR1 $(pgrep st) # reload st config
rm -f ~/.local/share/bg/*
ln -rs ~/.local/share/bg-dark.* ~/.local/share/bg/
${pkgs.hyprland}/bin/hyprctl reload