summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordaniel <daniel@wagner-home.com>2007-03-26 09:42:34 +0200
committerdaniel <daniel@wagner-home.com>2007-03-26 09:42:34 +0200
commit75f0f1d5678e4fbfcacc8e1a32a86d96411d1c21 (patch)
tree245e321fd5367086d43163bf30457c29db347cba
parentad0296175dce4308a9fe12e3c8913eddefa7e468 (diff)
downloadmetatile-75f0f1d5678e4fbfcacc8e1a32a86d96411d1c21.tar
metatile-75f0f1d5678e4fbfcacc8e1a32a86d96411d1c21.zip
Extra config: defaultLayout
darcs-hash:20070326074234-c98ca-624f259e215d1aad642744cae44d572d88adda60
-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
}