aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad/Hooks/EwmhDesktops.hs
diff options
context:
space:
mode:
authorAndrea Rossato <andrea.rossato@unibz.it>2007-12-09 13:32:04 +0100
committerAndrea Rossato <andrea.rossato@unibz.it>2007-12-09 13:32:04 +0100
commit2a1108b11592183e4f15ae927cc91435f9b8e1ff (patch)
tree0da49af17ab21221c8076e05cbf4f51d952863fd /XMonad/Hooks/EwmhDesktops.hs
parent56f6bf5005e1d6efc199b83ed7bd6cb16851c343 (diff)
downloadXMonadContrib-2a1108b11592183e4f15ae927cc91435f9b8e1ff.tar.gz
XMonadContrib-2a1108b11592183e4f15ae927cc91435f9b8e1ff.tar.xz
XMonadContrib-2a1108b11592183e4f15ae927cc91435f9b8e1ff.zip
EwmhDesktops: haddock fixes
darcs-hash:20071209123204-32816-8d96af00b58cb6f10a0db616f1fe5ea9dbe90a83.gz
Diffstat (limited to 'XMonad/Hooks/EwmhDesktops.hs')
-rw-r--r--XMonad/Hooks/EwmhDesktops.hs22
1 files changed, 12 insertions, 10 deletions
diff --git a/XMonad/Hooks/EwmhDesktops.hs b/XMonad/Hooks/EwmhDesktops.hs
index 7d0aa9a..e8c6dae 100644
--- a/XMonad/Hooks/EwmhDesktops.hs
+++ b/XMonad/Hooks/EwmhDesktops.hs
@@ -28,20 +28,22 @@ import qualified XMonad.StackSet as W
import XMonad.Hooks.SetWMName
-- $usage
--- Add the imports to your configuration file and add the logHook:
+-- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@:
--
+-- > import XMonad
-- > import XMonad.Hooks.EwmhDesktops
+-- >
+-- > myLogHook :: X ()
+-- > myLogHook = do ewmhDesktopsLogHook
+-- > return ()
+-- >
+-- > main = xmonad defaultConfig { logHook = myLogHook }
+--
+-- For more detailed instructions on editing the layoutHook see:
--
--- > logHook :: X()
--- > logHook = do ewmhDesktopsLogHook
--- > return ()
+-- "XMonad.Doc.Extending#The_log_hook_and_external_status_bars"
--- %import XMonad.Hooks.EwmhDesktops
--- %def -- comment out default logHook definition above if you uncomment this:
--- %def logHook = ewmhDesktopsLogHook
-
-
--- |
+-- |
-- Notifies pagers and window lists, such as those in the gnome-panel
-- of the current state of workspaces and windows.
ewmhDesktopsLogHook :: X ()