1
0
Fork 0
mirror of https://github.com/eoli3n/dotfiles synced 2024-06-01 20:36:06 +02:00

test if process are running in sway to be able to reload conf to restart killed process like pipewire

This commit is contained in:
eoli3n 2021-05-15 18:06:19 +02:00
parent 4af12bc100
commit acb92856a9

View File

@ -224,11 +224,11 @@ exec mkfifo $SWAYSOCK.wob && tail -f $SWAYSOCK.wob | wob
exec_always ~/.config/sway/import-gsettings
# mako
exec mako
exec_always if ! pgrep mako; then mako; fi
# syncthing
exec syncthing
exec_always if ! pgrep syncthing; then syncthing; fi
# pipewire
exec pipewire
exec pipewire-pulse
exec_always if ! pgrep pipewire; then pipewire; fi
exec_always if ! pgrep pipewire-pulse; then pipewire-pulse; fi