[Trigger] Operation = Upgrade Type = Package Target = * [Action] Description = "Updating polybar" When = PostTransaction Exec = /usr/bin/polybar-msg hook pkg 1