summaryrefslogtreecommitdiff
path: root/.config/xmonad/pacman-hooks/recompile-xmonad.hook
blob: 5ef068c12d62acbde459106c13c72b7c5c857c52 (about) (plain)
1
2
3
4
5
6
7
8
9
10
[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'"