diff options
author | Spencer Janssen <sjanssen@cse.unl.edu> | 2008-03-30 00:29:59 +0100 |
---|---|---|
committer | Spencer Janssen <sjanssen@cse.unl.edu> | 2008-03-30 00:29:59 +0100 |
commit | ebab6d001523d626e9f03c2e0cd522802f13be5c (patch) | |
tree | d70d584031057b676ab479ccb82e1d9bb114c5f9 | |
parent | da3761c4919a4a3268b52ffb05331aaca304831c (diff) | |
download | metatile-ebab6d001523d626e9f03c2e0cd522802f13be5c.tar metatile-ebab6d001523d626e9f03c2e0cd522802f13be5c.zip |
Remove gaps from the example config
darcs-hash:20080329232959-a5988-cd5332105a496ddf3ff97c5e107bb8c90b5eb699
-rw-r--r-- | man/xmonad.hs | 19 |
1 files changed, 1 insertions, 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, |