From 6f7a457eba8d2be11d73dfc1f90d3f4d5c53222a Mon Sep 17 00:00:00 2001 From: David Roundy Date: Sun, 11 Nov 2007 19:37:08 +0100 Subject: 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 --- XMonad/Config.hs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'XMonad') 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: -- cgit v1.2.3