mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-08-15 20:23:55 -07:00
ThreeColumns: haddock docs
This commit is contained in:
@@ -32,17 +32,20 @@ import Control.Monad.Reader
|
|||||||
import Graphics.X11.Xlib
|
import Graphics.X11.Xlib
|
||||||
|
|
||||||
-- $usage
|
-- $usage
|
||||||
--
|
-- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@:
|
||||||
-- You can use this module with the following in your Config.hs file:
|
|
||||||
--
|
--
|
||||||
-- > import XMonad.Layout.ThreeColumns
|
-- > import XMonad.Layout.ThreeColumns
|
||||||
--
|
--
|
||||||
-- and add, to the list of layouts:
|
-- Then edit your @layoutHook@ by adding the ThreeCol layout:
|
||||||
--
|
--
|
||||||
-- > ThreeCol nmaster delta ratio
|
-- > myLayouts = ThreeCol 1 (3/100) (1/2) False ||| etc..
|
||||||
|
-- > main = xmonad dafaultConfig { layoutHook = myLayouts }
|
||||||
-- %import XMonad.Layout.ThreeColumns
|
--
|
||||||
-- %layout , ThreeCol nmaster delta ratio
|
-- Use @True@ as the last argument to get a wide layout.
|
||||||
|
--
|
||||||
|
-- For more detailed instructions on editing the layoutHook see:
|
||||||
|
--
|
||||||
|
-- "XMonad.Doc.Extending#Editing_the_layout_hook"
|
||||||
|
|
||||||
data ThreeCol a = ThreeCol Int Rational Rational deriving (Show,Read)
|
data ThreeCol a = ThreeCol Int Rational Rational deriving (Show,Read)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user