diff options
-rw-r--r-- | Commands.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Commands.hs b/Commands.hs index 0472a45..f5dd8f0 100644 --- a/Commands.hs +++ b/Commands.hs @@ -59,7 +59,7 @@ commandMap c = M.fromList c workspaceCommands :: [(String, X ())] workspaceCommands = [((m ++ show i), f (fromIntegral i)) - | i <- [0 .. workspaces - 1] + | i <- workspaces , (f, m) <- [(view, "view"), (shift, "shift")] ] |