xmobar

Portabilityunportable
Stabilityunstable
MaintainerJose A. Ortega Ruiz <jao@gnu.org>
Safe HaskellNone

Parsers

Description

Parsers needed for Xmobar, a text based status bar

Synopsis

Documentation

parseString :: Config -> String -> IO [(Widget, ColorString, Maybe Action)]

Runs the string parser

parseTemplate :: Config -> String -> IO [(Runnable, String, String)]

Actually runs the template parsers

parseConfig :: String -> Either ParseError (Config, [String])

Parse the config, logging a list of fields that were missing and replaced by the default definition.

data Widget

Constructors

Icon String 
Text String