[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'"