From 5b58b15233772a6640b6d3fb502008c386c16826 Mon Sep 17 00:00:00 2001 From: Devin Mullins Date: Sat, 3 Nov 2007 03:20:11 +0100 Subject: fix examples darcs-hash:20071103022011-78224-80f583d1bfa98e646b9550f2b86e30d457408098.gz --- Dzen.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Dzen.hs') 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 -- cgit v1.2.3