# Copy to /etc/pacman.d/hooks/ [Trigger] Operation = Upgrade Operation = Remove Type = Package Target = * [Action] When = PostTransaction Exec = /bin/sh -c '! /bin/pgrep -u 1000 pkg-updates.sh || /bin/pkill -SIGUSR1 -u 1000 pkg-updates.sh'