dotfiles/.config/eww/refresh-pkg-updates.hook

11 lines
241 B
Text
Raw Normal View History

2024-10-21 16:49:00 +02:00
# Copy to /etc/pacman.d/hooks/
[Trigger]
Operation = Upgrade
Operation = Remove
Type = Package
Target = *
[Action]
When = PostTransaction
2024-10-22 11:01:33 +02:00
Exec = /bin/sh -c '! /bin/pgrep -u 1000 pkg-updates.sh || /bin/pkill -SIGUSR1 -u 1000 pkg-updates.sh'