waybar: update running process on deploy or sway reload

This commit is contained in:
lelgenio 2021-06-29 20:31:25 -03:00
parent 57d3de3f04
commit adf95b7bbc
2 changed files with 4 additions and 0 deletions

View file

@ -227,6 +227,7 @@ actions:
reload_sway: swaymsg reload & disown
reload_mako: pkill -SIGHUP mako
reload_waybar: env SVDIR=$HOME/.config/runit/sv sv hup waybar
lesskey: lesskey
reload_fish: pkill -SIGHUP fish
@ -318,6 +319,8 @@ dotfiles: # Just a bunch of paths and action mappings
waybar:
src: waybar
dst: ~/.config/waybar
actions:
- reload_waybar
kitty:
src: kitty.conf

View file

@ -47,6 +47,7 @@ include daemons
set $user_svd "$HOME/.config/runit/runsvdir/default"
exec runsvdir $user_svd
exec_always env SVDIR=$user_svd sv hup kanshi
exec_always env SVDIR=$user_svd sv hup waybar
exec_always _gpg-unlock
{%@@ endif @@%}