[xmonad] Issue 143 in xmonad: XEvent hook or similar needed
codesite-noreply at google.com
codesite-noreply at google.com
Sat Feb 23 16:28:59 EST 2008
Issue 143: XEvent hook or similar needed
http://code.google.com/p/xmonad/issues/detail?id=143
Comment #5 by andrea.rossato:
ok.
this is what I have in mind. Attached you'll find a patch that adds
XMonad.Hooks.Eventhook.
This is a sample usage:
main = xmonad ddefaultConfig {layoutHook = eventHook Test (avoidStruts myLayoutHook)}
where myLayoutHook us your layout hook.
To create an event handler see Test (it should be quite
straightforward), but I0m
here for any kind of explanation you may want.
This patch requires the new runLayout method:
http://www.haskell.org/pipermail/xmonad/2008-February/004846.html
and probably my other patches to port the contrib library to it:
http://www.haskell.org/pipermail/xmonad/2008-February/004859.html
and maybe the one that fixes issue #111 too:
http://www.haskell.org/pipermail/xmonad/2008-February/004860.html
since I'm starting to feel a bit stupid to keep on writing code base on
code I'm not
even sure will be included in xmonad, this is my last patch. I'll take
a break and
will not spam anymore.
cheers
Attachments:
eventHook.dpatch 38.9 KB
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
More information about the xmonad
mailing list