[Trigger]
Operation = Install
Operation = Upgrade
Operation = Remove
Type = Package
Target = *

[Action]
Depends = pacman
Description = Do a system sync first before doing any operations
When = PostTransaction
Exec = /usr/bin/pacman -Syu

