taffybar-1.0.2: A desktop bar similar to xmobar, but with more GUI

Copyright(c) Ivan A. Malison
LicenseBSD3-style (see LICENSE)
MaintainerIvan A. Malison
Stabilityunstable
Portabilityunportable
Safe HaskellNone
LanguageHaskell2010

System.Taffybar.Context

Description

 

Documentation

type Taffy m v = MonadBase IO m => ReaderT Context m v Source #

type Listener = Event -> Taffy IO () Source #

data Value Source #

Constructors

Typeable t => Value t 

fromValue :: forall t. Typeable t => Value -> Maybe t Source #

asksContextVar :: (r -> MVar b) -> ReaderT r IO b Source #

runX11 :: ReaderT X11Context IO b -> ReaderT Context IO b Source #

getState :: forall t. Typeable t => Taffy IO (Maybe t) Source #

putState :: Typeable t => t -> Taffy IO () Source #

liftReader :: Monad m => (m1 a -> m b) -> ReaderT r m1 a -> ReaderT r m b Source #

taffyFork :: ReaderT r IO () -> ReaderT r IO () Source #

handleX11Event :: Event -> Taffy IO () Source #