From bd41b81c167143527e29552b205d64df23d0e917 Mon Sep 17 00:00:00 2001 From: Spencer Janssen Date: Thu, 26 Apr 2007 21:14:07 +0000 Subject: [PATCH] Refactor in Config.hs (no real changes) --- Config.hs | 4 ++-- 1 file 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 :