From 243317ba62c88e3b96264e613c9dbef88cb19ed2 Mon Sep 17 00:00:00 2001 From: Brent Yorgey Date: Sat, 21 Nov 2009 18:07:39 +0100 Subject: X.H.DynamicLog: make documentation for 'dzen' and 'xmobar' slightly more clear Ignore-this: c9a241677fda21ef93305fc3882f102e darcs-hash:20091121170739-1e371-18e128232f780146a0d07f97b9f12f77a82f98e5.gz --- XMonad/Hooks/DynamicLog.hs | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'XMonad/Hooks/DynamicLog.hs') 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. -- -- cgit v1.2.3