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

Adding pacman hooks.

This commit is contained in:
Derek Taylor 2020-12-16 21:17:54 -06:00
parent 4975ada3c9
commit 1aa6138866
2 changed files with 20 additions and 0 deletions

View file

@ -0,0 +1,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'"

View file

@ -0,0 +1,10 @@
[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'"