fix(waybar-hook): Return code 0 when waybar is not running
This commit is contained in:
parent
2bc5e50b16
commit
2013dfe20d
1 changed files with 1 additions and 1 deletions
|
@ -7,4 +7,4 @@ Target = *
|
||||||
|
|
||||||
[Action]
|
[Action]
|
||||||
When = PostTransaction
|
When = PostTransaction
|
||||||
Exec = /bin/pkill -SIGRTMIN+3 -u 1000 waybar
|
Exec = /bin/sh -c '! /bin/pgrep -u 1000 waybar || /bin/pkill -SIGRTMIN+3 -u 1000 waybar'
|
||||||
|
|
Loading…
Reference in a new issue