dotfiles/pacman/hooks/10-pkglist-update.hook
2019-08-18 08:26:04 +08:00

13 lines
260 B
Plaintext

[Trigger]
Operation = Install
Operation = Upgrade
Operation = Remove
Type = Package
Target = *
[Action]
Depends = pacman
Description = Update package list at $HOME/dotfiles/pkglist
When = PostTransaction
Exec = /usr/bin/pacman -Qqne >> ~/dotfiles/pkglist.txt