services: Kill waybar processes before starting service
This commit is contained in:
parent
1c95446ce0
commit
b52d58dd58
1 changed files with 3 additions and 0 deletions
|
|
@ -1,6 +1,9 @@
|
|||
#!/bin/sh
|
||||
|
||||
#shellcheck disable=SC1091
|
||||
[ -r ./conf ] && . ./conf
|
||||
|
||||
pgrep -x waybar && pkill -x waybar
|
||||
|
||||
exec 2>&1
|
||||
exec chpst -e "$TURNSTILE_ENV_DIR" waybar
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue