From 35b3ba741b02d8944a4930f1527b9b41e6ce8089 Mon Sep 17 00:00:00 2001 From: Andrea Rossato Date: Thu, 14 Jun 2007 16:40:19 +0200 Subject: HintedTile.hs: info and documentation darcs-hash:20070614144019-32816-c10be6884bfc25bed84c8e6bce50b69f86c409d2.gz --- HintedTile.hs | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/HintedTile.hs b/HintedTile.hs index 22ea946..6ec408e 100644 --- a/HintedTile.hs +++ b/HintedTile.hs @@ -1,4 +1,22 @@ -module XMonadContrib.HintedTile (tall, wide) where +----------------------------------------------------------------------------- +-- | +-- Module : XMonadContrib.HintedTile +-- Copyright : (c) Peter De Wachter +-- License : BSD3-style (see LICENSE) +-- +-- Maintainer : Peter De Wachter +-- Stability : unstable +-- Portability : unportable +-- +-- A gapless tiled layout that attempts to obey window size hints, +-- rather than simply ignoring them. +-- +----------------------------------------------------------------------------- + +module XMonadContrib.HintedTile ( + -- * Usage + -- $usage + tall, wide) where import XMonad import Operations (Resize(..), IncMasterN(..), applySizeHints) @@ -8,6 +26,11 @@ import Graphics.X11.Xlib import Graphics.X11.Xlib.Extras import Control.Monad +-- $usage +-- You can use this module with the following in your Config.hs file: +-- +-- > import XMonadContrib.HintedTile + -- this sucks addBorder, substractBorder :: (Dimension, Dimension) -> (Dimension, Dimension) addBorder (w, h) = (w + 2 * borderWidth, h + 2 * borderWidth) -- cgit v1.2.3