aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDevin Mullins <me@twifkak.com>2007-11-03 03:20:11 +0100
committerDevin Mullins <me@twifkak.com>2007-11-03 03:20:11 +0100
commit5b58b15233772a6640b6d3fb502008c386c16826 (patch)
tree81eee17b3b74586be00c5f2d3c0fd3f593d624d5
parente31b1b338e0b0b97485270e9391276e545b4459c (diff)
downloadXMonadContrib-5b58b15233772a6640b6d3fb502008c386c16826.tar.gz
XMonadContrib-5b58b15233772a6640b6d3fb502008c386c16826.tar.xz
XMonadContrib-5b58b15233772a6640b6d3fb502008c386c16826.zip
fix examples
darcs-hash:20071103022011-78224-80f583d1bfa98e646b9550f2b86e30d457408098.gz
-rw-r--r--Dzen.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Dzen.hs b/Dzen.hs
index 911abbd..8d4b411 100644
--- a/Dzen.hs
+++ b/Dzen.hs
@@ -35,7 +35,7 @@ dzen str timeout = dzenWithArgs str [] timeout
-- | @dzen str args timeout@ pipes @str@ to dzen2 for @timeout@ seconds, passing @args@ to dzen.
-- Example usage:
--- > dzen "Hi, dons!" ["-ta", "r"] (5 `seconds`)
+-- > dzenWithArgs "Hi, dons!" ["-ta", "r"] (5 `seconds`)
dzenWithArgs :: String -> [String] -> Int -> X ()
dzenWithArgs str args timeout = io $ runProcessWithInputAndWait "dzen2" args (unchomp str) timeout
-- dzen seems to require the input to terminate with exactly one newline.
@@ -58,7 +58,7 @@ dzenUrgencyHook = dzenUrgencyHookWithArgs []
-- | Flashes when a window requests your attention and you can't see it. For use with
-- XMonadContrib.UrgencyHook. Usage:
--- > urgencyHook = dzenUrgencyHook ["-bg", "darkgreen"] (5 `seconds`)
+-- > urgencyHook = dzenUrgencyHookWithArgs ["-bg", "darkgreen"] (5 `seconds`)
dzenUrgencyHookWithArgs :: [String] -> Int -> Window -> X ()
dzenUrgencyHookWithArgs args duration w = do
visibles <- gets mapped