aboutsummaryrefslogtreecommitdiffstats
path: root/Config.hs
diff options
context:
space:
mode:
authorJason Creighton <jcreigh@gmail.com>2007-04-24 03:33:57 +0200
committerJason Creighton <jcreigh@gmail.com>2007-04-24 03:33:57 +0200
commit51ade462945bb3b668331f03c75efae71095fa69 (patch)
tree16f498371ee6cdc00c8b94b966edf933cf27af0c /Config.hs
parent0805c4527cce9c6ef5abca549f2a2800bacb892f (diff)
downloadxmonad-51ade462945bb3b668331f03c75efae71095fa69.tar.gz
xmonad-51ade462945bb3b668331f03c75efae71095fa69.tar.xz
xmonad-51ade462945bb3b668331f03c75efae71095fa69.zip
Ignore numlock and capslock in keybindings
darcs-hash:20070424013357-b9aa7-aed2e5623aa5d0f804d131974fc9b6c21c7a2ce1.gz
Diffstat (limited to 'Config.hs')
-rw-r--r--Config.hs4
1 files changed, 3 insertions, 1 deletions
diff --git a/Config.hs b/Config.hs
index d90f0f8..4e905f4 100644
--- a/Config.hs
+++ b/Config.hs
@@ -101,8 +101,10 @@ defaultDelta :: Rational
defaultDelta = 3%100
-- The mask for the numlock key. 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.
numlockMask :: KeyMask
-numlockMask = lockMask
+numlockMask = mod2Mask
-- What layout to start in, and what the default proportion for the
-- left pane should be in the tiled layout. See LayoutDesc and