, return True -?> doF W.focusDown
]
--- My workspaces, same as default ones. Used below in myKeys.
-myWorkspaces = ["1", "2", "3", "4", "5", "6", "7", "8", "9"]
-
myKeys = [
-- Switch to additional layout (vertical tiled) defined by
-- toggleLayouts above.
--
-- Thanks to the Xmonad FAQ, read on 2010-06-16 13:42
-- (http://www.haskell.org/haskellwiki/Xmonad/Frequently_asked_questions).
+ -- Thanks to MrElendig in #xmonad on Freenode (2010-06-17 17:16) to use
+ -- the default XMonad workspaces.
[((m .|. mod4Mask, k), windows $ f i)
- | (i, k) <- zip myWorkspaces [xK_1 .. xK_9]
+ | (i, k) <- zip (XMonad.workspaces defaultConfig) [xK_1 .. xK_9]
, (f, m) <- [(W.view, 0), (W.shift, shiftMask)]]
main = xmonad $ defaultConfig