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

https://lemmy.today/post/50355504

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

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: INI [Trigger] Operation = Upgrade Type = File Target = /usr/bin/hyprland [Action] Description = Update hyprpm plugins When = PostTransaction Exec = hyprpm update