[xmonad] darcs patch: Script callbacks for hooks

Trevor Elliott trevor at galois.com
Wed Apr 16 17:39:55 EDT 2008

Hi Everyone,

I've added the ability to call a script with an argument to direct
execution.  For example, if you'd like to run a hook on startup that
does something like manage your dzen2 instance, all you would need to do
is make sure that:

> execScriptHook "startup"

was somewhere in your startup hook definition, and the script
~/.xmonad/hooks would be called with a single argument of "startup".

-------------- next part --------------
A non-text attachment was scrubbed...
Name: hook-scripts.patch
Type: text/x-patch
Size: 9583 bytes
Desc: not available
Url : http://www.haskell.org/pipermail/xmonad/attachments/20080416/0c29a749/hook-scripts.bin

More information about the xmonad mailing list