8
0

Quick pacman hook script to update hyprpm plugins when hyprland gets updated

2mon 18d ago by lemmy.today/u/northernlights in hyprland

Got annoyed by forgetting to run hyprpm update after each update of Hyprland on Arch so I made a quick pacman hook to automatically do it, just place (or symlink) it in /etc/pacman.d/hooks and make sure the file name ends in .hook:

[Trigger]
Operation = Upgrade
Type = File
Target = /usr/bin/hyprland
[Action]
Description = Update hyprpm plugins
When = PostTransaction
Exec = hyprpm update