Removed the gaps from xmonad.hs. No need for a bar there

This commit is contained in:
Stefan Ritter 2009-05-07 19:24:51 +02:00
parent d5e75313d1
commit 1ac51fd1e5

View file

@ -11,7 +11,6 @@ myNumlockMask = mod2Mask
myWorkspaces = ["1","2","3","4","5","6","7","8","9"]
myNormalBorderColor = "#dddddd"
myFocusedBorderColor = "#ff0000"
myDefaultGaps = [(14,0,0,0)]
myKeys conf@(XConfig {XMonad.modMask = modMask}) = M.fromList $
[ ((modMask, xK_Return), spawn $ XMonad.terminal conf)
@ -32,9 +31,6 @@ myKeys conf@(XConfig {XMonad.modMask = modMask}) = M.fromList $
, ((modMask, xK_period), sendMessage (IncMasterN (-1)))
, ((modMask, xK_k ), spawn "amixer -c 0 set PCM 2dB+")
, ((modMask, xK_s ), spawn "amixer -c 0 set PCM 2dB-")
, ((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))
]
++
@ -81,7 +77,6 @@ defaults = defaultConfig {
workspaces = myWorkspaces,
normalBorderColor = myNormalBorderColor,
focusedBorderColor = myFocusedBorderColor,
defaultGaps = myDefaultGaps,
keys = myKeys,
mouseBindings = myMouseBindings,