import XMonad.Util.EZConfig
-- Necessary for setWMName.
import XMonad.Hooks.SetWMName
+-- Necessary for toggleWS.
+import XMonad.Actions.CycleWS
-- Prevent new windows from spawning in the master pane. Taken from
-- Switch to additional layout (vertical tiled) defined by
-- toggleLayouts above.
((mod4Mask, xK_v), sendMessage ToggleLayout)
+ -- Switch to last active workspace, thanks to moljac024 in #xmonad on
+ -- Freenode (2010-12-18 14:45).
+ , ((mod4Mask, xK_f), toggleWS)
]
++
-- When using multiple screens, switching to another workspace causes