[xmonad] XMonad.Actions.CycleRecentWS rewrite (new modules inside)

Jochen Keil jochen.keil at gmail.com
Sat Jan 7 23:32:45 CET 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dear list,

after struggling for a while the XMonad.Actions.CycleRecentWS contrib
module, mainly because it actively grabs the whole keyboard (and thus
breaks various functionality, e.g. switching the layout on the fly), I
took the time to rewrite this module.
It now does not actively grab the whole keyboard anymore but relies
only on one passive grab.
I imagine this could be done even more generally, but I am pretty
satisfied with how it works now. However, since theres always room for
improvement new ideas are always welcome. :)

I've included another module which helps to setup up a passive grab on
a certain key. Configuration is a bit (tr)icky, but I hope not too
troublesome.

Best regards,

Jochen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iEYEARECAAYFAk8IyA0ACgkQtVwvsA+W4CD/oQCfQQgOCq2F1jIemAgfYP14s+as
mTQAn3710teJZPyRTei0kmv5sTquxpPO
=XT02
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: GrabModifiers.hs
Type: text/x-haskell
Size: 2617 bytes
Desc: not available
URL: <http://www.haskell.org/pipermail/xmonad/attachments/20120107/ed77b2b5/attachment.hs>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CycleRecentHook.hs
Type: text/x-haskell
Size: 6959 bytes
Desc: not available
URL: <http://www.haskell.org/pipermail/xmonad/attachments/20120107/ed77b2b5/attachment-0001.hs>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: GrabModifiers.hs.sig
Type: application/pgp-signature
Size: 72 bytes
Desc: not available
URL: <http://www.haskell.org/pipermail/xmonad/attachments/20120107/ed77b2b5/attachment.pgp>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CycleRecentHook.hs.sig
Type: application/pgp-signature
Size: 72 bytes
Desc: not available
URL: <http://www.haskell.org/pipermail/xmonad/attachments/20120107/ed77b2b5/attachment-0001.pgp>


More information about the xmonad mailing list