diff options
author | Andrea Rossato <andrea.rossato@unibz.it> | 2007-11-23 15:05:57 +0100 |
---|---|---|
committer | Andrea Rossato <andrea.rossato@unibz.it> | 2007-11-23 15:05:57 +0100 |
commit | 50661d1123bb133088480c409a141280949ced71 (patch) | |
tree | 02b20890bc7ed8661c594207950a20eaeab1921b /XMonad | |
parent | 4494c3314665ebd49830358003c14e5f3e41d3aa (diff) | |
download | XMonadContrib-50661d1123bb133088480c409a141280949ced71.tar.gz XMonadContrib-50661d1123bb133088480c409a141280949ced71.tar.xz XMonadContrib-50661d1123bb133088480c409a141280949ced71.zip |
Named: haddock fixes
darcs-hash:20071123140557-32816-86aa35c7356d81256acaf9bd9d31b30cde1f1708.gz
Diffstat (limited to 'XMonad')
-rw-r--r-- | XMonad/Layout/Named.hs | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/XMonad/Layout/Named.hs b/XMonad/Layout/Named.hs index 54ef89b..265f39c 100644 --- a/XMonad/Layout/Named.hs +++ b/XMonad/Layout/Named.hs @@ -10,6 +10,8 @@ -- Stability : unstable -- Portability : unportable -- +-- A module for assigning a name to a given layout. +-- ----------------------------------------------------------------------------- module XMonad.Layout.Named ( @@ -21,13 +23,19 @@ module XMonad.Layout.Named ( import XMonad -- $usage --- You can use this module with the following in your Config.hs file: +-- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@: -- -- > import XMonad.Layout.Named -- --- and change the name of a given layout by +-- Then edit your @layoutHook@ by adding the Named layout modifier +-- to some layout: +-- +-- > myLayouts = Named "real big" Full ||| etc.. +-- > main = xmonad dafaultConfig { layoutHook = myLayouts } +-- +-- For more detailed instructions on editing the layoutHook see: -- --- > layout = Named "real big" Full ||| ... +-- "XMonad.Doc.Extending#Editing_the_layout_hook" data Named l a = Named String (l a) deriving ( Read, Show ) |