diff options
author | ThanosApollo <[email protected]> | 2022-10-12 12:58:00 +0300 |
---|---|---|
committer | ThanosApollo <[email protected]> | 2022-10-12 12:58:00 +0300 |
commit | 6476ac80e8959bb8034a0a2860023d8eb2ac8375 (patch) | |
tree | c5b5eaaad7e66e913f65f1bd19c45d70963a72a6 /.config/xmonad/pacman-hooks | |
parent | 65a2b283f6b5c51809ed2fd257532f7fe55075ec (diff) |
Update xmonad system and zsh
Diffstat (limited to '.config/xmonad/pacman-hooks')
-rw-r--r-- | .config/xmonad/pacman-hooks/recompile-xmonad.hook | 10 | ||||
-rw-r--r-- | .config/xmonad/pacman-hooks/recompile-xmonadh.hook | 10 |
2 files changed, 20 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'" diff --git a/.config/xmonad/pacman-hooks/recompile-xmonadh.hook b/.config/xmonad/pacman-hooks/recompile-xmonadh.hook new file mode 100644 index 0000000..c014cbb --- /dev/null +++ b/.config/xmonad/pacman-hooks/recompile-xmonadh.hook @@ -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'" |