[Xmonad] "Empty" KeyMask: 0 vs AnyModifier vs ...?

Andy Gimblett A.M.Gimblett at swansea.ac.uk
Thu Apr 26 08:38:41 EDT 2007

Hi all,

I'm trying to set up keybindings in Config.hs which require no
modifier at all.  eg, to launch a terminal when I hit F2.

The following works:

    , ((0,                  xK_F2    ), spawn "urxvt")

but doesn't feel "right".  Is there a better candidate for the KeyMask
field?  I thought anyModifier might be right (something Anselm once
said seemed to support that:
http://www.suckless.org/pipermail/dwm/2006-October/001078.html ) but
no, it doesn't.

Any thoughts?



Andy Gimblett
Computer Science Department
University of Wales Swansea

More information about the Xmonad mailing list