[Trigger] Operation = Remove Operation = Upgrade Type = Package Target = * [Action] Description = List orphans When = PostTransaction Exec = /usr/bin/bash -c "(pacman -Qtd && echo 'uninstall all with »pacman -Qtdq | pacman -Rs -«') || echo '==> None found'"