diff options
author | Spencer Janssen <spencerjanssen@gmail.com> | 2008-08-13 21:18:57 +0200 |
---|---|---|
committer | Spencer Janssen <spencerjanssen@gmail.com> | 2008-08-13 21:18:57 +0200 |
commit | 57012a0aba1657f2c0fb52ac95955990c090c1ca (patch) | |
tree | 83960e64bafacaffdf66a7d64116878af98b3d15 /XMonad/Hooks | |
parent | 25b84d6386701c79e6fb389c1d0ce843a48f0243 (diff) | |
download | XMonadContrib-57012a0aba1657f2c0fb52ac95955990c090c1ca.tar.gz XMonadContrib-57012a0aba1657f2c0fb52ac95955990c090c1ca.tar.xz XMonadContrib-57012a0aba1657f2c0fb52ac95955990c090c1ca.zip |
Improve documentation for XMonad.Hooks.EwmhDesktops
darcs-hash:20080813191857-25a6b-2843fd20ba22ac01ce5c84287eb8d3cd64e00ea8.gz
Diffstat (limited to 'XMonad/Hooks')
-rw-r--r-- | XMonad/Hooks/EwmhDesktops.hs | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/XMonad/Hooks/EwmhDesktops.hs b/XMonad/Hooks/EwmhDesktops.hs index a0d6689..83a05a6 100644 --- a/XMonad/Hooks/EwmhDesktops.hs +++ b/XMonad/Hooks/EwmhDesktops.hs @@ -39,13 +39,15 @@ import XMonad.Hooks.EventHook -- > import XMonad.Hooks.EwmhDesktops -- > -- > myLogHook :: X () --- > myLogHook = do ewmhDesktopsLogHook --- > return () +-- > myLogHook = ewmhDesktopsLogHook -- > --- > layoutHook = ewmhDesktopsLayout $ avoidStruts $ simpleTabbed ||| Full ||| etc.. +-- > myLayoutHook = ewmhDesktopsLayout $ avoidStruts $ layoutHook defaultConfig -- > -- > main = xmonad defaultConfig { layoutHook = myLayouts, logHook = myLogHook } -- +-- 'avoidStruts' is used to automatically leave space for dock programs, and +-- can be found in 'XMonad.Hooks.ManageDocks'. +-- -- For more detailed instructions on editing the layoutHook see: -- -- "XMonad.Doc.Extending#The_log_hook_and_external_status_bars" |