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