diff options
Diffstat (limited to '.config/XMonad/pacman-hooks/recompile-xmonad.hook')
-rw-r--r-- | .config/XMonad/pacman-hooks/recompile-xmonad.hook | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/.config/XMonad/pacman-hooks/recompile-xmonad.hook b/.config/XMonad/pacman-hooks/recompile-xmonad.hook new file mode 100644 index 0000000..5ef068c --- /dev/null +++ b/.config/XMonad/pacman-hooks/recompile-xmonad.hook @@ -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'" |