mirror of
https://github.com/xmonad/xmonad.git
synced 2025-08-03 21:51:53 -07:00
Refactor in Config.hs (no real changes)
This commit is contained in:
@@ -139,8 +139,8 @@ keys = M.fromList $
|
|||||||
|
|
||||||
] ++
|
] ++
|
||||||
-- Keybindings to get to each workspace:
|
-- Keybindings to get to each workspace:
|
||||||
[((m .|. modMask, xK_0 + fromIntegral i), f (fromIntegral (pred i))) -- index from 0.
|
[((m .|. modMask, k), f (fromIntegral (pred i))) -- index from 0.
|
||||||
| i <- [1 .. workspaces]
|
| (i, k) <- zip [1 .. workspaces] [xK_1 ..]
|
||||||
, (f, m) <- [(view, 0), (tag, shiftMask)]]
|
, (f, m) <- [(view, 0), (tag, shiftMask)]]
|
||||||
|
|
||||||
-- Keybindings to each screen :
|
-- Keybindings to each screen :
|
||||||
|
Reference in New Issue
Block a user