Portability | unportable |
---|---|
Stability | unstable |
Maintainer | Jose A. Ortega Ruiz <jao@gnu.org> |
Safe Haskell | None |
Config
Contents
Description
The configuration module of Xmobar, a text based status bar
- data Config = Config {
- font :: String
- additionalFonts :: [String]
- bgColor :: String
- fgColor :: String
- position :: XPosition
- textOffset :: Int
- iconOffset :: Int
- border :: Border
- borderColor :: String
- borderWidth :: Int
- alpha :: Int
- hideOnStart :: Bool
- allDesktops :: Bool
- overrideRedirect :: Bool
- pickBroadest :: Bool
- lowerOnStart :: Bool
- persistent :: Bool
- iconRoot :: FilePath
- commands :: [Runnable]
- sepChar :: String
- alignSep :: String
- template :: String
- data XPosition
- data Align
- data Border
- defaultConfig :: Config
- runnableTypes :: Command :*: (Monitors :*: (Date :*: (PipeReader :*: (BufferedPipeReader :*: (CommandReader :*: (StdinReader :*: (XMonadLog :*: (EWMH :*: (Kbd :*: (Locks :*: (Mail :*: (MBox :*: (DateZone :*: (MarqueePipeReader :*: ()))))))))))))))
Configuration
Configuration data type and default configuration
data Config
The configuration data type
Constructors
Config | |
Fields
|
Instances
Read Config |
data XPosition
data Border
The default configuration values
runnableTypes :: Command :*: (Monitors :*: (Date :*: (PipeReader :*: (BufferedPipeReader :*: (CommandReader :*: (StdinReader :*: (XMonadLog :*: (EWMH :*: (Kbd :*: (Locks :*: (Mail :*: (MBox :*: (DateZone :*: (MarqueePipeReader :*: ()))))))))))))))
This is the list of types that can be hidden inside
Runnable
, the existential type that stores all commands
to be executed by Xmobar. It is used by readRunnable
in
the Runnable
Read instance. To install a plugin just add
the plugin's type to the list of types (separated by :*:
) appearing in
this function's type signature.