xmobar-0.32: A Minimalistic Text Based Status Bar

Copyright(c) Jose A Ortega Ruiz
LicenseBSD-style (see LICENSE)
MaintainerJose A Ortega Ruiz <jao@gnu.org>
Stabilityunstable
Portabilityunportable
Safe HaskellSafe
LanguageHaskell98

Xmobar.Plugins.MBox

Description

A plugin for checking mail in mbox files.

Synopsis
  • data MBox = MBox [(String, FilePath, String)] [String] String

Documentation

data MBox Source #

A list of display names, paths to mbox files and display colours, followed by a list of options.

Constructors

MBox [(String, FilePath, String)] [String] String 
Instances
Read MBox Source # 
Instance details

Defined in Xmobar.Plugins.MBox

Methods

readsPrec :: Int -> ReadS MBox

readList :: ReadS [MBox]

readPrec :: ReadPrec MBox

readListPrec :: ReadPrec [MBox]

Show MBox Source # 
Instance details

Defined in Xmobar.Plugins.MBox

Methods

showsPrec :: Int -> MBox -> ShowS

show :: MBox -> String

showList :: [MBox] -> ShowS

Exec MBox Source # 
Instance details

Defined in Xmobar.Plugins.MBox

Methods

alias :: MBox -> String Source #

rate :: MBox -> Int Source #

run :: MBox -> IO String Source #

start :: MBox -> (String -> IO ()) -> IO () Source #

trigger :: MBox -> (Maybe SignalType -> IO ()) -> IO () Source #