Files
dotfiles/pacman/hooks/40-orphans.hook
2025-08-13 21:46:48 +02:00

12 lines
259 B
Plaintext

[Trigger]
Operation = Install
Operation = Upgrade
Operation = Remove
Type = Package
Target = *
[Action]
Description = Orphaned package notification
When = PostTransaction
Exec = /usr/bin/bash -c "/usr/bin/pacman -Qtd || /usr/bin/echo '=> No orphans found.'"