diff options
author | Devin Mullins <me@twifkak.com> | 2007-11-03 03:20:11 +0100 |
---|---|---|
committer | Devin Mullins <me@twifkak.com> | 2007-11-03 03:20:11 +0100 |
commit | 5b58b15233772a6640b6d3fb502008c386c16826 (patch) | |
tree | 81eee17b3b74586be00c5f2d3c0fd3f593d624d5 | |
parent | e31b1b338e0b0b97485270e9391276e545b4459c (diff) | |
download | XMonadContrib-5b58b15233772a6640b6d3fb502008c386c16826.tar.gz XMonadContrib-5b58b15233772a6640b6d3fb502008c386c16826.tar.xz XMonadContrib-5b58b15233772a6640b6d3fb502008c386c16826.zip |
fix examples
darcs-hash:20071103022011-78224-80f583d1bfa98e646b9550f2b86e30d457408098.gz
-rw-r--r-- | Dzen.hs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |