summaryrefslogtreecommitdiffstats
path: root/XMonad/Main.hs
diff options
context:
space:
mode:
Diffstat (limited to 'XMonad/Main.hs')
-rw-r--r--XMonad/Main.hs4
1 files changed, 1 insertions, 3 deletions
diff --git a/XMonad/Main.hs b/XMonad/Main.hs
index 3840c53..ab276af 100644
--- a/XMonad/Main.hs
+++ b/XMonad/Main.hs
@@ -64,7 +64,7 @@ xmonad initxmc = do
let layout = layoutHook xmc
lreads = readsLayout layout
- initialWinset = new layout (workspaces xmc) $ zipWith SD xinesc gaps
+ initialWinset = new layout (workspaces xmc) $ map SD xinesc
maybeRead reads' s = case reads' s of
[(x, "")] -> Just x
@@ -76,8 +76,6 @@ xmonad initxmc = do
return . W.ensureTags layout (workspaces xmc)
$ W.mapLayout (fromMaybe layout . maybeRead lreads) ws
- gaps = take (length xinesc) $ defaultGaps xmc ++ repeat (0,0,0,0)
-
cf = XConf
{ display = dpy
, config = xmc