From 04507a2b4da983f433f99fe938751cf72e59b715 Mon Sep 17 00:00:00 2001 From: Anders Engstrom Date: Sun, 3 May 2009 21:07:55 +0200 Subject: ThreeCol - Update docs to match reality Ignore-this: e63f3ee533dd9bcf0f32da2316dde1dd darcs-hash:20090503190755-8978f-1a517fe375e492e05e9d91c2b7f49bd07ae173ec.gz --- XMonad/Layout/ThreeColumns.hs | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'XMonad') diff --git a/XMonad/Layout/ThreeColumns.hs b/XMonad/Layout/ThreeColumns.hs index fe203be..5db95b7 100644 --- a/XMonad/Layout/ThreeColumns.hs +++ b/XMonad/Layout/ThreeColumns.hs @@ -38,17 +38,18 @@ import Control.Monad -- -- Then edit your @layoutHook@ by adding the ThreeCol layout: -- --- > myLayouts = ThreeCol 1 (3/100) (1/2) ||| etc.. +-- > myLayouts = ThreeCol 1 (3/100) (1/2) ||| ThreeColMid 1 (3/100) (1/2) ||| etc.. -- > main = xmonad defaultConfig { layoutHook = myLayouts } -- --- If the first argument is true, the main window is placed in the center --- column. The second argument specifies hom many windows initially appear in --- the main window. The third argument argument specifies the amount to resize --- while resizing and the fourth argument specifies the initial size of the --- columns. A positive size designates the fraction of the screen that the main --- window should occupy, but if the size is negative the absolute value --- designates the fraction a slave column should occupy. If both slave columns --- are visible, they always occupy the same amount of space. +-- The first argument specifies hom many windows initially appear in the main +-- window. The second argument argument specifies the amount to resize while +-- resizing and the third argument specifies the initial size of the columns. +-- A positive size designates the fraction of the screen that the main window +-- should occupy, but if the size is negative the absolute value designates the +-- fraction a slave column should occupy. If both slave columns are visible, +-- they always occupy the same amount of space. +-- +-- The ThreeColMid variant places the main window between the slave columns. -- -- For more detailed instructions on editing the layoutHook see: -- -- cgit v1.2.3