fix(waybar-hook): Return code 0 when waybar is not running

This commit is contained in:
Viyurz 2024-11-19 10:14:53 +01:00
parent 2bc5e50b16
commit 2013dfe20d
Signed by: Viyurz
SSH key fingerprint: SHA256:IskOHTmhHSJIvAt04N6aaxd5SZCVWW1Guf9tEcxIMj8

View file

@ -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'