diff options
-rw-r--r-- | XMonad/Layout/Accordion.hs | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/XMonad/Layout/Accordion.hs b/XMonad/Layout/Accordion.hs index f844c22..7991b47 100644 --- a/XMonad/Layout/Accordion.hs +++ b/XMonad/Layout/Accordion.hs @@ -26,11 +26,18 @@ import Graphics.X11.Xlib import Data.Ratio -- $usage +-- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@: +-- -- > import XMonad.Layout.Accordion --- > layouts = [ Layout Accordion ] - --- %import XMonad.Layout.Accordion --- %layout , Layout Accordion +-- +-- Then edit your @layoutHook@ by adding the Accordion layout: +-- +-- > myLayouts = Accordion ||| Full ||| etc.. +-- > main = xmonad dafaultConfig { layoutHook = myLayouts } +-- +-- For more detailed instructions on editing the layoutHook see: +-- +-- "XMonad.Doc.Extending#Editing_the_layout_hook" data Accordion a = Accordion deriving ( Read, Show ) |