# Refresh the package update count Waybar module
[Trigger]
Operation = Upgrade
Operation = Remove
Type = Package
Target = *
[Action]
When = PostTransaction
Exec = /bin/sh -c '! /bin/pgrep -u 1000 waybar || /bin/pkill -SIGRTMIN+3 -u 1000 waybar'