summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Config.hs4
-rw-r--r--Main.hs2
2 files changed, 5 insertions, 1 deletions
diff --git a/Config.hs b/Config.hs
index 83d0308..8e3e49d 100644
--- a/Config.hs
+++ b/Config.hs
@@ -61,6 +61,10 @@ defaultDelta = 3%100
numlockMask :: KeySym
numlockMask = lockMask
+-- What layout to start in. See the definition of Layout in XMonad.hs for options.
+defaultLayout :: Layout
+defaultLayout = Full
+
-- The keys list.
keys :: M.Map (KeyMask, KeySym) (X ())
keys = M.fromList $
diff --git a/Main.hs b/Main.hs
index b2c6ce4..b1cdd4c 100644
--- a/Main.hs
+++ b/Main.hs
@@ -50,7 +50,7 @@ main = do
, wmprotocols = wmprot
, dimensions = (displayWidth dpy dflt, displayHeight dpy dflt)
, workspace = W.empty workspaces
- , layout = Full
+ , layout = defaultLayout
, leftWidth = defaultLeftWidth
}