aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad
diff options
context:
space:
mode:
authorDon Stewart <dons@galois.com>2008-05-05 23:05:46 +0200
committerDon Stewart <dons@galois.com>2008-05-05 23:05:46 +0200
commit1bd760714dfa9b6b8e359d8d79f414edcf1553c0 (patch)
treeb03a9dcfa8c6676a390801ef77ede0e446754401 /XMonad
parent42184f0b52fdb9f802192cd1438f07c971c8b3bb (diff)
downloadXMonadContrib-1bd760714dfa9b6b8e359d8d79f414edcf1553c0.tar.gz
XMonadContrib-1bd760714dfa9b6b8e359d8d79f414edcf1553c0.tar.xz
XMonadContrib-1bd760714dfa9b6b8e359d8d79f414edcf1553c0.zip
Add full documentation
darcs-hash:20080505210546-cba2c-ec1a8e2451ef832d4b8268ece515f0af1960d5cd.gz
Diffstat (limited to 'XMonad')
-rw-r--r--XMonad/Layout/DwmStyle.hs13
-rw-r--r--XMonad/Layout/WindowArranger.hs5
2 files changed, 17 insertions, 1 deletions
diff --git a/XMonad/Layout/DwmStyle.hs b/XMonad/Layout/DwmStyle.hs
index a4be1f0..b6c8196 100644
--- a/XMonad/Layout/DwmStyle.hs
+++ b/XMonad/Layout/DwmStyle.hs
@@ -51,6 +51,19 @@ import XMonad.Layout.Decoration
-- and
--
-- > myL = dwmStyle shrinkText myDWConfig (layoutHook defaultConfig)
+--
+-- A complete xmonad.hs file for this would therefore be:
+--
+-- > import XMonad
+-- > import XMonad.Layout.DwmStyle
+-- >
+-- > main = xmonad defaultConfig {
+-- > layoutHook =
+-- > dwmStyle shrinkText defaultTheme
+-- > (layoutHook defaultConfig)
+-- > }
+--
+
-- | Add simple old dwm-style decorations to windows of a layout.
dwmStyle :: (Eq a, Shrinker s) => s -> Theme
diff --git a/XMonad/Layout/WindowArranger.hs b/XMonad/Layout/WindowArranger.hs
index 0d998b0..ae69cbf 100644
--- a/XMonad/Layout/WindowArranger.hs
+++ b/XMonad/Layout/WindowArranger.hs
@@ -1,5 +1,8 @@
{-# OPTIONS_GHC -fglasgow-exts #-} -- for deriving Typeable
-{-# LANGUAGE PatternGuards, FlexibleInstances, MultiParamTypeClasses, TypeSynonymInstances #-}
+{-# LANGUAGE PatternGuards #-}
+{-# FlexibleInstancesi #-}
+{-# MultiParamTypeClasses #-}
+{-# TypeSynonymInstances #-}
-----------------------------------------------------------------------------
-- |
-- Module : XMonad.Layout.WindowArranger