rice/pacman-hooks/polybar.hook

12 lines
264 B
Plaintext
Raw Normal View History

2021-11-16 17:52:05 -08:00
[Trigger]
Operation = Upgrade
Operation = Remove
Type = Package
Target = *
[Action]
Description = Updating Polybar package count...
Depends = polybar
When = PostTransaction
Exec = /usr/bin/bash -c '/usr/bin/polybar-msg hook package-updates 1 &>/dev/null || true'