summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSpencer Janssen <sjanssen@cse.unl.edu>2007-04-26 23:14:07 +0200
committerSpencer Janssen <sjanssen@cse.unl.edu>2007-04-26 23:14:07 +0200
commit9aa3dda0e33560ca4fb4a93ce1d7b3a1c49d6357 (patch)
tree2058277e7daf902a19a63b54f15c0a7c90222a6a
parentf322b4ad412d9702327649e0d0b6802985238cfb (diff)
downloadmetatile-9aa3dda0e33560ca4fb4a93ce1d7b3a1c49d6357.tar
metatile-9aa3dda0e33560ca4fb4a93ce1d7b3a1c49d6357.zip
Refactor in Config.hs (no real changes)
darcs-hash:20070426211407-a5988-e08784e64270523d8dac44d8249c335f029272fd
-rw-r--r--Config.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Config.hs b/Config.hs
index 4e905f4..2adc0d7 100644
--- a/Config.hs
+++ b/Config.hs
@@ -139,8 +139,8 @@ keys = M.fromList $
] ++
-- Keybindings to get to each workspace:
- [((m .|. modMask, xK_0 + fromIntegral i), f (fromIntegral (pred i))) -- index from 0.
- | i <- [1 .. workspaces]
+ [((m .|. modMask, k), f (fromIntegral (pred i))) -- index from 0.
+ | (i, k) <- zip [1 .. workspaces] [xK_1 ..]
, (f, m) <- [(view, 0), (tag, shiftMask)]]
-- Keybindings to each screen :