import XMonad.Hooks.ManageHelpers
-- Necessary for `additionalKeys`.
import XMonad.Util.EZConfig
import XMonad.Hooks.ManageHelpers
-- Necessary for `additionalKeys`.
import XMonad.Util.EZConfig
, return True -?> doF avoidMaster
-- Prevent windows which get moved to other workspaces from removing the
-- focus of the currently selected window. Thanks to vav in #xmonad on
, return True -?> doF avoidMaster
-- Prevent windows which get moved to other workspaces from removing the
-- focus of the currently selected window. Thanks to vav in #xmonad on
-- Switch to additional layout (vertical tiled) defined by
-- toggleLayouts above.
((mod4Mask, xK_v), sendMessage ToggleLayout)
-- 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)
, (f, m) <- [(W.view, 0), (W.shift, shiftMask)]]
main = xmonad $ defaultConfig
, (f, m) <- [(W.view, 0), (W.shift, shiftMask)]]
main = xmonad $ defaultConfig
-- bindings.
{ modMask = mod4Mask
-- Inactive borders are black - invisible on my black screen.
, normalBorderColor = "#000000"
-- bindings.
{ modMask = mod4Mask
-- Inactive borders are black - invisible on my black screen.
, normalBorderColor = "#000000"
, focusedBorderColor = "#990000"
-- Use my layout and manage hooks (see above).
, layoutHook = myLayoutHook
, manageHook = myManageHook
-- Use unicode rxvt as my terminal.
, terminal = "urxvt"
, focusedBorderColor = "#990000"
-- Use my layout and manage hooks (see above).
, layoutHook = myLayoutHook
, manageHook = myManageHook
-- Use unicode rxvt as my terminal.
, terminal = "urxvt"