diff --git a/pacman-hooks/polybar.hook b/pacman-hooks/polybar.hook new file mode 100644 index 0000000..180a556 --- /dev/null +++ b/pacman-hooks/polybar.hook @@ -0,0 +1,11 @@ +[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'