Spyke

Syndicated from the fediverse. Read and engage on the original instance.

View original on lemmy.today
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
8

No replies yet

No comments on the original post yet.