aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad
diff options
context:
space:
mode:
Diffstat (limited to 'XMonad')
-rw-r--r--XMonad/Hooks/DynamicLog.hs10
1 files changed, 3 insertions, 7 deletions
diff --git a/XMonad/Hooks/DynamicLog.hs b/XMonad/Hooks/DynamicLog.hs
index 5646d59..221b3cc 100644
--- a/XMonad/Hooks/DynamicLog.hs
+++ b/XMonad/Hooks/DynamicLog.hs
@@ -51,15 +51,11 @@ import XMonad.Util.NamedWindows
import XMonad.Util.Run
-- $usage
+-- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@:
--
--- To use, set:
---
+-- > import XMonad
-- > import XMonad.Hooks.DynamicLog
--- > logHook = dynamicLog
-
--- %import XMonad.Hooks.DynamicLog
--- %def -- comment out default logHook definition above if you uncomment any of these:
--- %def logHook = dynamicLog
+-- > main = xmonad defaultConfig { logHook = dynamicLog }
-- | An example xmonad config that spawns a new dzen toolbar and uses the default
-- dynamic log output