mirror of
https://github.com/xmonad/xmonad.git
synced 2025-08-08 16:11:51 -07:00
explain numlockMask
This commit is contained in:
@@ -50,8 +50,9 @@ workspaces = map show [1 .. 9 :: Int]
|
|||||||
modMask :: KeyMask
|
modMask :: KeyMask
|
||||||
modMask = mod1Mask
|
modMask = mod1Mask
|
||||||
|
|
||||||
-- | numlock handling. The mask for the numlock key. You may need to
|
-- | The mask for the numlock key. Numlock status is "masked" from the
|
||||||
-- change this on some systems.
|
-- 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
|
-- You can find the numlock modifier by running "xmodmap" and looking for a
|
||||||
-- modifier with Num_Lock bound to it:
|
-- modifier with Num_Lock bound to it:
|
||||||
@@ -59,6 +60,9 @@ modMask = mod1Mask
|
|||||||
-- > $ xmodmap | grep Num
|
-- > $ xmodmap | grep Num
|
||||||
-- > mod2 Num_Lock (0x4d)
|
-- > 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 :: KeyMask
|
||||||
numlockMask = mod2Mask
|
numlockMask = mod2Mask
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user