aboutsummaryrefslogtreecommitdiffstats
path: root/SwitchTrans.hs
diff options
context:
space:
mode:
authorAndrea Rossato <andrea.rossato@unibz.it>2007-08-04 12:44:58 +0200
committerAndrea Rossato <andrea.rossato@unibz.it>2007-08-04 12:44:58 +0200
commitfff15e0a75defe3e4049029bfb2d5cf4c01abe8a (patch)
treec9a3648abfa72f959f33e982168aea7b3c6df742 /SwitchTrans.hs
parent9738d69f2afd8a1243476e1a6f2e291f829b0ee7 (diff)
downloadXMonadContrib-fff15e0a75defe3e4049029bfb2d5cf4c01abe8a.tar.gz
XMonadContrib-fff15e0a75defe3e4049029bfb2d5cf4c01abe8a.tar.xz
XMonadContrib-fff15e0a75defe3e4049029bfb2d5cf4c01abe8a.zip
SwitchTrans.hs: minor haddock corrections
darcs-hash:20070804104458-32816-c267c9a3e58035721f54001163e7099d0dcf7608.gz
Diffstat (limited to 'SwitchTrans.hs')
-rw-r--r--SwitchTrans.hs16
1 files changed, 8 insertions, 8 deletions
diff --git a/SwitchTrans.hs b/SwitchTrans.hs
index 0aadfff..52ad6c8 100644
--- a/SwitchTrans.hs
+++ b/SwitchTrans.hs
@@ -1,3 +1,4 @@
+{-# OPTIONS_GHC -fglasgow-exts #-}
-----------------------------------------------------------------------------
-- |
-- Module : XMonadContrib.SwitchTrans
@@ -8,11 +9,8 @@
-- Stability : unstable
-- Portability : unportable
--
------------------------------------------------------------------------------
-
-{-# OPTIONS_GHC -fglasgow-exts #-}
-
--- | Ordinary layout transformers are simple and easy to use but inflexible.
+--
+-- Ordinary layout transformers are simple and easy to use but inflexible.
-- This module provides a more structured interface to them.
--
-- The basic idea is to have a base layout and a set of layout transformers,
@@ -33,7 +31,7 @@
-- > mkSwitch (M.singleton "mirror" mirror)
-- > ) [ tiled ]
--
--- (The noBorders transformer is from @XMonadContrib.NoBorders@.)
+-- (The noBorders transformer is from 'XMonadContrib.NoBorders'.)
--
-- This example is probably overkill but it's very close to what I actually use.
-- Anyway, this layout behaves like the default @tiled@ layout, until you send it
@@ -54,11 +52,13 @@
--
-- The reason I use two stacked @SwitchTrans@ transformers instead of
-- @mkSwitch (M.fromList [("full", const $ noBorders full), ("mirror", mirror)])@
--- is that I use @mod-f@ to "zoom in" on interesting windows, no matter what other
+-- is that I use @mod-f@ to \"zoom in\" on interesting windows, no matter what other
-- layout transformers may be active. Having an extra fullscreen mode on top of
--- everything else means I can zoom in and out without implicitly undoing "normal"
+-- everything else means I can zoom in and out without implicitly undoing \"normal\"
-- layout transformers, like @mirror@. Remember, inside a @SwitchTrans@ there can
-- be at most one active layout transformer.
+-----------------------------------------------------------------------------
+
module XMonadContrib.SwitchTrans (
Toggle(..),
Enable(..),