diff options
author | Joachim Fasting <joachim.fasting@gmail.com> | 2007-10-17 21:26:12 +0200 |
---|---|---|
committer | Joachim Fasting <joachim.fasting@gmail.com> | 2007-10-17 21:26:12 +0200 |
commit | 5e1465c41f8e5c9c444d070be0fcd1f7e86dfa89 (patch) | |
tree | 55e7b5cf0d65ab72a27ad1770625e8e85fea65ed | |
parent | f543aaf8b49097a76d9117514406d58cfab872e0 (diff) | |
download | XMonadContrib-5e1465c41f8e5c9c444d070be0fcd1f7e86dfa89.tar.gz XMonadContrib-5e1465c41f8e5c9c444d070be0fcd1f7e86dfa89.tar.xz XMonadContrib-5e1465c41f8e5c9c444d070be0fcd1f7e86dfa89.zip |
TilePrime.hs: add usage info.
darcs-hash:20071017192612-928c4-16b88a6fed79f3741d3eb1b7df31dce17dfe05af.gz
-rw-r--r-- | TilePrime.hs | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/TilePrime.hs b/TilePrime.hs index 851563d..8e77b2c 100644 --- a/TilePrime.hs +++ b/TilePrime.hs @@ -14,7 +14,11 @@ -- ----------------------------------------------------------------------------- -- -module XMonadContrib.TilePrime (TilePrime(TilePrime)) where +module XMonadContrib.TilePrime ( + -- * Usage + -- $usage + TilePrime(TilePrime) + ) where import Control.Monad (mplus) import Data.List (genericLength) @@ -25,6 +29,20 @@ import XMonad hiding (trace) import qualified StackSet as W import {-#SOURCE#-} Config (borderWidth) +-- $usage +-- You can use this module with the following in your Config.hs file: +-- +-- > import XMonadContrib.TilePrime +-- +-- and add the following line to your 'layouts' +-- +-- > , Layout $ TilePrime nmaster delta ratio False +-- +-- Use True as the last argument to get a wide layout. + +-- %import XMonadContrib.TilePrime +-- %layout , Layout $ TilePrime nmaster delta ratio False + data TilePrime a = TilePrime { nmaster :: Int , delta, frac :: Rational |