You need to create a Pacman hook so that this package is recompiled every time hyprtoolkit or hyprutils is updated.
First, you need to create the folder if it doesn't exist: sudo mkdir -p /etc/pacman.d/hooks/
And inside it, create a .hook file with the following content:
[Trigger]
Operation = Upgrade
Type = Package
Target = hyprtoolkit
Target = hyprutils
[Action]
Description = Recompiling hyprsysteminfo from AUR...
When = PostTransaction
Exec = /usr/bin/sudo -u <USER> /usr/bin/<AUR HELPER> -S --rebuild --noconfirm hyprsysteminfo
Remember to replace <USER> with your username and <AUR HELPER> with the program you use to install AUR packages. In my case, I use paru, so the options I’ve listed are for that program; you’ll need to check the options for the program you use to replace these options accordingly.
Pinned Comments
j1simon commented on 2026-04-02 11:21 (UTC)
You need to create a Pacman hook so that this package is recompiled every time
hyprtoolkitorhyprutilsis updated.First, you need to create the folder if it doesn't exist:
sudo mkdir -p /etc/pacman.d/hooks/And inside it, create a
.hookfile with the following content:Remember to replace
<USER>with your username and<AUR HELPER>with the program you use to install AUR packages. In my case, I useparu, so the options I’ve listed are for that program; you’ll need to check the options for the program you use to replace these options accordingly.