xmonad-contrib-0.7: Third party extensions for xmonadContentsIndex
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 ()

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

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

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 ()
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 -> Int

Multiplies by ONE MILLION, for functions that take microseconds.

Use like:

 (5.5 `seconds`)
Produced by Haddock version 0.8