[Trigger] Type=Package Operation=Install Operation=Upgrade Target=* [Action] Description=Finding orphans... When=PostTransaction Exec=/usr/bin/bash -c 'OL="$(pacman -Qtdq | tr "\n" " ")"; echo "=> ${OL:-None Found}"'