xmobar-0.29.4: A Minimalistic Text Based Status Bar

Copyright(c) Spencer Janssen
LicenseBSD-style (see LICENSE)
MaintainerSpencer Janssen <sjanssen@cse.unl.edu>
Stabilityunstable
Portabilityunportable
Safe HaskellSafe
LanguageHaskell98

Xmobar.Plugins.Mail

Description

A plugin for checking mail.

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

Documentation

data Mail Source #

A list of mail box names and paths to maildirs.

Constructors

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

Defined in Xmobar.Plugins.Mail

Methods

readsPrec :: Int -> ReadS Mail

readList :: ReadS [Mail]

readPrec :: ReadPrec Mail

readListPrec :: ReadPrec [Mail]

Show Mail Source # 
Instance details

Defined in Xmobar.Plugins.Mail

Methods

showsPrec :: Int -> Mail -> ShowS

show :: Mail -> String

showList :: [Mail] -> ShowS

Exec Mail Source # 
Instance details

Defined in Xmobar.Plugins.Mail

Methods

alias :: Mail -> String Source #

rate :: Mail -> Int Source #

run :: Mail -> IO String Source #

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

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