dotfiles/.config/pacman/hooks/50-pacman-list.hook
2023-11-03 14:27:05 +01:00

11 lines
259 B
Text

[Trigger]
Type = Package
Operation = Install
Operation = Upgrade
Operation = Remove
Target = *
[Action]
Description = Create a backup list of all installed packages
When = PostTransaction
Exec = /bin/sh -c 'yay -Qqe > /home/matt/.config/pacman/packages.txt'