This repository has been archived on 2023-03-02. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles/.config/pacman/hooks/pkglist.hook
David 6fc5c852ec feat: automatically generate a pkglist for pacman
add a hook to pacman, generating a list of installed pakages and writing
it to `/home/swytch/.config/paru/pkglist`
2021-02-05 22:33:23 +01:00

11 lines
225 B
Plaintext

[Trigger]
Operation = Remove
Operation = Install
Type = Package
Target = *
[Action]
Description = Update the pkglist...
When = PostTransaction
Exec = /bin/sh -c '/usr/bin/pacman -Qqe > /home/swytch/.config/paru/pkglist.txt'