aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSpencer Janssen <sjanssen@cse.unl.edu>2007-03-21 07:58:07 +0100
committerSpencer Janssen <sjanssen@cse.unl.edu>2007-03-21 07:58:07 +0100
commited1f5713cd2742d83bdbdb3c526d66bde8e6a05e (patch)
tree50ceb38aba7f3e7a0e74c2b92ce6d89b5b041e8f
parent8ea800dd0f798f40e8e81b8a266e6d5690d0cb49 (diff)
downloadxmonad-ed1f5713cd2742d83bdbdb3c526d66bde8e6a05e.tar.gz
xmonad-ed1f5713cd2742d83bdbdb3c526d66bde8e6a05e.tar.xz
xmonad-ed1f5713cd2742d83bdbdb3c526d66bde8e6a05e.zip
Add defaultLeftWidth in the configuration section
darcs-hash:20070321065807-a5988-4685e61bb98bd87e006c3d0e310ef0f918151a35.gz
-rw-r--r--Main.hs6
1 files changed, 5 insertions, 1 deletions
diff --git a/Main.hs b/Main.hs
index 820a153..1e6691f 100644
--- a/Main.hs
+++ b/Main.hs
@@ -71,6 +71,10 @@ keys = M.fromList $
, (f, m) <- [(view, 0), (tag, shiftMask)]]
+-- The default size for the left pane
+defaultLeftWidth :: Rational
+defaultLeftWidth = 3%5
+
-- How much to change the size of the windows on the left by default
defaultDelta :: Rational
defaultDelta = 3%100
@@ -104,7 +108,7 @@ main = do
, dimensions = (displayWidth dpy dflt, displayHeight dpy dflt)
, workspace = W.empty workspaces
, layout = Full
- , leftWidth = 3%5
+ , leftWidth = defaultLeftWidth
}
xSetErrorHandler -- in C, I'm too lazy to write the binding