aboutsummaryrefslogtreecommitdiffstats
path: root/Config.hs
diff options
context:
space:
mode:
authorDevin Mullins <me@twifkak.com>2007-10-14 02:55:25 +0200
committerDevin Mullins <me@twifkak.com>2007-10-14 02:55:25 +0200
commit3a6da273cf29f302827b1ef8236cda1258f7c4ae (patch)
treeb1b8d82e0c3c95df7c6e71de227ddc5a83aa11a8 /Config.hs
parent93c7f4ecfd90ce38c50df22c08bfb96f08b597c5 (diff)
downloadxmonad-3a6da273cf29f302827b1ef8236cda1258f7c4ae.tar.gz
xmonad-3a6da273cf29f302827b1ef8236cda1258f7c4ae.tar.xz
xmonad-3a6da273cf29f302827b1ef8236cda1258f7c4ae.zip
explain numlockMask
darcs-hash:20071014005525-78224-d63fdb701def5d77b943d437e6e1ab7eb0f9f49c.gz
Diffstat (limited to '')
-rw-r--r--Config.hs8
1 files changed, 6 insertions, 2 deletions
diff --git a/Config.hs b/Config.hs
index 2c1ee53..17b350c 100644
--- a/Config.hs
+++ b/Config.hs
@@ -50,8 +50,9 @@ workspaces = map show [1 .. 9 :: Int]
modMask :: KeyMask
modMask = mod1Mask
--- | numlock handling. The mask for the numlock key. You may need to
--- change this on some systems.
+-- | The mask for the numlock key. Numlock status is "masked" from the
+-- current modifier status, so the keybindings will work with numlock on or
+-- off. You may need to change this on some systems.
--
-- You can find the numlock modifier by running "xmodmap" and looking for a
-- modifier with Num_Lock bound to it:
@@ -59,6 +60,9 @@ modMask = mod1Mask
-- > $ xmodmap | grep Num
-- > mod2 Num_Lock (0x4d)
--
+-- Set numlockMask = 0 if you don't have a numlock key, or want to treat
+-- numlock status separately.
+--
numlockMask :: KeyMask
numlockMask = mod2Mask