dotfiles/.scripts/refresh-waybar-pkg-update-count.hook

10 lines
197 B
Text

# Refresh the package update count Waybar module
[Trigger]
Operation = Upgrade
Operation = Remove
Type = Package
Target = *
[Action]
When = PostTransaction
Exec = pkill -SIGRTMIN+3 -u 1000 waybar