Safe Haskell | None |
---|---|
Language | Haskell2010 |
A hook for XMonad window manager to send updates to the corresponding Tianbar widget.
You must include tianbar:scripts/xmonad.js in Tianbar configuration to receive the updates.
A Renderer can be used to fully customize the output. A renderer is a function receiving all the status information and returning HTML which will be displayed in the corresponding element of the status bar.
For convenience, a renderer returning Markup
can be used as well.
- dbusLog :: Client -> X ()
- dbusLogWithMarkup :: Client -> MarkupRenderer -> X ()
- dbusLogWithRenderer :: Client -> Renderer String -> X ()
- tianbarMarkup :: MarkupRenderer
- data WindowSpaceInfo = WindowSpaceInfo {}
- type Renderer a = String -> String -> [WindowSpaceInfo] -> [Window] -> WindowSet -> a
- type MarkupRenderer = Renderer Markup
Documentation
dbusLogWithMarkup :: Client -> MarkupRenderer -> X () Source
Tianbar logger with a Blaze renderer.
dbusLogWithRenderer :: Client -> Renderer String -> X () Source
Tianbar logger with a renderer emitting a string.
tianbarMarkup :: MarkupRenderer Source
Default Tianbar renderer.
data WindowSpaceInfo Source
Workspace information.
= String | layout description |
-> String | active window title |
-> [WindowSpaceInfo] | workspaces |
-> [Window] | urgent windows |
-> WindowSet | all windows |
-> a |
A function to format the status information.
type MarkupRenderer = Renderer Markup Source