xmonad-contrib-0.5: Third party extensions for xmonadSource codeContentsIndex
XMonad.Util.Dzen
Portabilityunportable
Stabilityunstable
Maintainerglasser@mit.edu
Description
Handy wrapper for dzen. Requires dzen >= 0.2.4.
Synopsis
dzen :: String -> Int -> X ()
dzenWithArgs :: String -> [String] -> Int -> X ()
dzenScreen :: ScreenId -> String -> Int -> X ()
seconds :: Rational -> Int
Documentation
dzen :: String -> Int -> X ()Source

dzen str timeout pipes str to dzen2 for timeout microseconds. Example usage:

 dzen "Hi, mom!" (5 `seconds`)
dzenWithArgs :: String -> [String] -> Int -> X ()Source

dzen str args timeout pipes str to dzen2 for timeout seconds, passing args to dzen. Example usage:

 dzenWithArgs "Hi, dons!" ["-ta", "r"] (5 `seconds`)
dzenScreen :: ScreenId -> String -> Int -> X ()Source
dzenScreen sc str timeout pipes str to dzen2 for timeout microseconds, and on screen sc. Requires dzen to be compiled with Xinerama support.
seconds :: Rational -> IntSource

Multiplies by ONE MILLION, for use with runProcessWithInputAndWait.

Use like:

 (5.5 `seconds`)
Produced by Haddock version 2.3.0