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-xmonad.hook | 10 ++++++++++ .config/xmonad/pacman-hooks/recompile-xmonadh.hook | 10 ++++++++++ 2 files changed, 20 insertions(+) create mode 100644 .config/xmonad/pacman-hooks/recompile-xmonad.hook create mode 100644 .config/xmonad/pacman-hooks/recompile-xmonadh.hook (limited to '.config/xmonad/pacman-hooks') 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'" -- cgit v1.2.3