| xmonad-contrib-0.9.1: Third party extensions for xmonad | Source code | Contents | Index

XMonad.Util.Dzen

Portability | unportable
Stability | stable
Maintainer | glasser@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 -> Int | Source

Multiplies by ONE MILLION, for functions that take microseconds.

Use like:

     (5.5 `seconds`)

Produced by Haddock version 2.4.2