From ebab6d001523d626e9f03c2e0cd522802f13be5c Mon Sep 17 00:00:00 2001 From: Spencer Janssen Date: Sun, 30 Mar 2008 00:29:59 +0100 Subject: Remove gaps from the example config darcs-hash:20080329232959-a5988-cd5332105a496ddf3ff97c5e107bb8c90b5eb699 --- man/xmonad.hs | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/man/xmonad.hs b/man/xmonad.hs index 5858e36..d41fa56 100644 --- a/man/xmonad.hs +++ b/man/xmonad.hs @@ -60,20 +60,6 @@ myWorkspaces = ["1","2","3","4","5","6","7","8","9"] myNormalBorderColor = "#dddddd" myFocusedBorderColor = "#ff0000" --- Default offset of drawable screen boundaries from each physical --- screen. Anything non-zero here will leave a gap of that many pixels --- on the given edge, on the that screen. A useful gap at top of screen --- for a menu bar (e.g. 15) --- --- An example, to set a top gap on monitor 1, and a gap on the bottom of --- monitor 2, you'd use a list of geometries like so: --- --- > defaultGaps = [(18,0,0,0),(0,18,0,0)] -- 2 gaps on 2 monitors --- --- Fields are: top, bottom, left, right. --- -myDefaultGaps = [(0,0,0,0)] - ------------------------------------------------------------------------ -- Key bindings. Add, modify or remove key bindings here. -- @@ -137,9 +123,7 @@ myKeys conf@(XConfig {XMonad.modMask = modMask}) = M.fromList $ , ((modMask , xK_period), sendMessage (IncMasterN (-1))) -- toggle the status bar gap - , ((modMask , xK_b ), - modifyGap (\i n -> let x = (XMonad.defaultGaps conf ++ repeat (0,0,0,0)) !! i - in if n == x then (0,0,0,0) else x)) + -- TODO, update this binding with avoidStruts , ((modMask , xK_b ), -- Quit xmonad , ((modMask .|. shiftMask, xK_q ), io (exitWith ExitSuccess)) @@ -280,7 +264,6 @@ defaults = defaultConfig { workspaces = myWorkspaces, normalBorderColor = myNormalBorderColor, focusedBorderColor = myFocusedBorderColor, - defaultGaps = myDefaultGaps, -- key bindings keys = myKeys, -- cgit v1.2.3