diff --git a/.config/eww/refresh-pkg-updates.hook b/.config/eww/refresh-pkg-updates.hook index a2a6202..9b6b00c 100644 --- a/.config/eww/refresh-pkg-updates.hook +++ b/.config/eww/refresh-pkg-updates.hook @@ -7,4 +7,4 @@ Target = * [Action] When = PostTransaction -Exec = /bin/pgrep -u 1000 pkg-updates.sh || /bin/pkill -SIGUSR1 -u 1000 pkg-updates.sh +Exec = /bin/sh -c '! /bin/pgrep -u 1000 pkg-updates.sh || /bin/pkill -SIGUSR1 -u 1000 pkg-updates.sh'