dwt1--dotfiles/.config/xmonad/pacman-hooks/recompile-xmonadh.hook

11 lines
268 B
Plaintext

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