aboutsummaryrefslogtreecommitdiffstats
path: root/Tabbed.hs
diff options
context:
space:
mode:
authorAndrea Rossato <andrea.rossato@unibz.it>2007-06-13 15:10:29 +0200
committerAndrea Rossato <andrea.rossato@unibz.it>2007-06-13 15:10:29 +0200
commit3aa06e27a54c9548673f998e7152fccadbdd6bd1 (patch)
tree171e9336e690043037f9d6370bd9e464fc39ea33 /Tabbed.hs
parentc031e72de2b6461698a448914dea54a6d8f3365e (diff)
downloadXMonadContrib-3aa06e27a54c9548673f998e7152fccadbdd6bd1.tar.gz
XMonadContrib-3aa06e27a54c9548673f998e7152fccadbdd6bd1.tar.xz
XMonadContrib-3aa06e27a54c9548673f998e7152fccadbdd6bd1.zip
template for module information e documentation
darcs-hash:20070613131029-32816-c60792d6cdcabc37ca1bc5ffa9d61c6babf84cc0.gz
Diffstat (limited to 'Tabbed.hs')
-rw-r--r--Tabbed.hs38
1 files changed, 28 insertions, 10 deletions
diff --git a/Tabbed.hs b/Tabbed.hs
index adcb470..d62a591 100644
--- a/Tabbed.hs
+++ b/Tabbed.hs
@@ -1,14 +1,22 @@
-module XMonadContrib.Tabbed ( tabbed ) where
+-----------------------------------------------------------------------------
+-- |
+-- Module : XMonadContrib.Tabbed
+-- Copyright : (c) David Roundy
+-- License : ??? GPL 2 ???
+--
+-- Maintainer : email@address.com
+-- Stability : unstable
+-- Portability : unportable
+--
+-- A tabbed layout for the Xmonad Window Manager
+--
+-----------------------------------------------------------------------------
--- This module defines a tabbed layout.
-
--- You can use this module with the following in your config file:
-
--- import XMonadContrib.Tabbed
-
--- defaultLayouts :: [Layout]
--- defaultLayouts = [ tabbed
--- , ... ]
+module XMonadContrib.Tabbed (
+ -- * Usage:
+ -- $usage
+ tabbed
+ ) where
import Control.Monad ( forM, liftM )
import Control.Monad.State ( gets )
@@ -21,6 +29,16 @@ import qualified StackSet as W
import XMonadContrib.NamedWindows
+-- $usage
+-- You can use this module with the following in your configuration file:
+--
+-- > import XMonadContrib.Tabbed
+--
+-- > defaultLayouts :: [Layout]
+-- > defaultLayouts = [ tabbed
+-- > , ... ]
+
+
tabbed :: Layout
tabbed = Layout { doLayout = dolay, modifyLayout = const (return Nothing) }