aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrent Yorgey <byorgey@cis.upenn.edu>2009-11-21 18:07:39 +0100
committerBrent Yorgey <byorgey@cis.upenn.edu>2009-11-21 18:07:39 +0100
commit243317ba62c88e3b96264e613c9dbef88cb19ed2 (patch)
treed39eabfa6f0a6ccab00af6860fbcd24f09c55ad4
parentdb45f58694d887ff8fcb1a3ef5c5b1f821dd08cd (diff)
downloadXMonadContrib-243317ba62c88e3b96264e613c9dbef88cb19ed2.tar.gz
XMonadContrib-243317ba62c88e3b96264e613c9dbef88cb19ed2.tar.xz
XMonadContrib-243317ba62c88e3b96264e613c9dbef88cb19ed2.zip
X.H.DynamicLog: make documentation for 'dzen' and 'xmobar' slightly more clear
Ignore-this: c9a241677fda21ef93305fc3882f102e darcs-hash:20091121170739-1e371-18e128232f780146a0d07f97b9f12f77a82f98e5.gz
-rw-r--r--XMonad/Hooks/DynamicLog.hs12
1 files changed, 9 insertions, 3 deletions
diff --git a/XMonad/Hooks/DynamicLog.hs b/XMonad/Hooks/DynamicLog.hs
index 0c82d2e..27b3cec 100644
--- a/XMonad/Hooks/DynamicLog.hs
+++ b/XMonad/Hooks/DynamicLog.hs
@@ -87,7 +87,9 @@ import XMonad.Hooks.ManageDocks
-- If you just want a quick-and-dirty status bar with zero effort, try
-- the 'xmobar' or 'dzen' functions:
--
--- > main = xmonad =<< xmobar conf
+-- > main = xmonad =<< xmobar myConfig
+-- >
+-- > myConfig = defaultConfig { ... }
--
-- There is also 'statusBar' if you'd like to use another status bar, or would
-- like to use different formatting options. The 'xmobar', 'dzen', and
@@ -150,7 +152,9 @@ import XMonad.Hooks.ManageDocks
-- | Run xmonad with a dzen status bar set to some nice defaults.
--
--- > main = xmonad =<< dzen conf
+-- > main = xmonad =<< dzen myConfig
+-- >
+-- > myConfig = defaultConfig { ... }
--
-- The intent is that the above config file should provide a nice
-- status bar with minimal effort.
@@ -173,7 +177,9 @@ dzen conf = statusBar ("dzen2 " ++ flags) dzenPP toggleStrutsKey conf
-- | Run xmonad with a xmobar status bar set to some nice defaults.
--
--- > main = xmonad =<< xmobar conf
+-- > main = xmonad =<< xmobar myConfig
+-- >
+-- > myConfig = defaultConfig { ... }
--
-- This works pretty much the same as 'dzen' function above.
--