1
0
Fork 0
mirror of https://gitlab.com/dwt1/dotfiles.git synced 2023-02-13 20:55:19 -05:00
dwt1--dotfiles/.xmonad/pacman-hooks/recompile-xmonad.hook

10 lines
265 B
Text

[Trigger]
Operation = Upgrade
Type = Package
Target = xmonad*
[Action]
Description = Recompiling Xmonad now because of Xmonad updates...
When = PostTransaction
Depends = xmonad
Exec = /bin/sh -c "runuser -l $( who | cut -d ' ' -f1 | uniq) -c 'xmonad --recompile'"