Spyke
hyprland·Hyprland Desktop Environmentbynorthernlights

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

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
View original on lemmy.today
No comments on the original post yet.