From 6476ac80e8959bb8034a0a2860023d8eb2ac8375 Mon Sep 17 00:00:00 2001 From: ThanosApollo Date: Wed, 12 Oct 2022 12:58:00 +0300 Subject: Update xmonad system and zsh --- .config/xmonad/pacman-hooks/recompile-xmonadh.hook | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .config/xmonad/pacman-hooks/recompile-xmonadh.hook (limited to '.config/xmonad/pacman-hooks/recompile-xmonadh.hook') 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'" -- cgit v1.2.3