Move workspace fetching logic from Config.hs to Operations.hs

This commit is contained in:
Spencer Janssen
2007-04-10 06:47:14 +00:00
parent 0c95f0c143
commit be223c35f4
2 changed files with 5 additions and 1 deletions

View File

@@ -136,7 +136,7 @@ keys = M.fromList $
-- Keybindings to each screen :
-- mod-wer (underneath 123) switches to physical/Xinerama screens 1 2 and 3
++
[((m .|. modMask, key), gets workspace >>= f . (+1) . fromMaybe 0 . W.workspace sc)
[((m .|. modMask, key), screenWorkspace sc >>= f)
| (key, sc) <- zip [xK_s, xK_d, xK_f] [0..]
, (f, m) <- [(view, 0), (tag, shiftMask)]]