xmonad-contrib-0.9: Third party extensions for xmonad

Portabilityunportable
Stabilitystable
Maintainerglasser@mit.edu

XMonad.Util.Dzen

Description

Handy wrapper for dzen. Requires dzen >= 0.2.4.

Synopsis

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 functions that take microseconds.

Use like:

 (5.5 `seconds`)