summaryrefslogtreecommitdiffstats
path: root/XMonad
diff options
context:
space:
mode:
authorDavid Roundy <droundy@darcs.net>2007-11-11 19:37:08 +0100
committerDavid Roundy <droundy@darcs.net>2007-11-11 19:37:08 +0100
commit6f7a457eba8d2be11d73dfc1f90d3f4d5c53222a (patch)
tree694395441177dcd2629deea369570d7e4bbf7cde /XMonad
parent38f93481c60b8a74d196c10dc9f12193a8b45760 (diff)
downloadmetatile-6f7a457eba8d2be11d73dfc1f90d3f4d5c53222a.tar
metatile-6f7a457eba8d2be11d73dfc1f90d3f4d5c53222a.zip
avoid Data.Ratio and % operator in XMonad.Config
I think this'll make Config.hs more friendly as a template for folks to modify. darcs-hash:20071111183708-72aca-2a0c0e2463c94d1d2d08b60f7f16e239250ec2c7
Diffstat (limited to 'XMonad')
-rw-r--r--XMonad/Config.hs5
1 files changed, 2 insertions, 3 deletions
diff --git a/XMonad/Config.hs b/XMonad/Config.hs
index 371c2d4..33ac8df 100644
--- a/XMonad/Config.hs
+++ b/XMonad/Config.hs
@@ -31,7 +31,6 @@ import XMonad.Layouts
import XMonad.Operations
import XMonad.ManageHook
import qualified XMonad.StackSet as W
-import Data.Ratio
import Data.Bits ((.|.))
import qualified Data.Map as M
import System.Exit
@@ -152,10 +151,10 @@ layout = tiled ||| Mirror tiled ||| Full
nmaster = 1
-- Default proportion of screen occupied by master pane
- ratio = 1%2
+ ratio = 0.5
-- Percent of screen to increment by when resizing panes
- delta = 3%100
+ delta = 0.03
------------------------------------------------------------------------
-- Key bindings: