taffybar-2.0.0: 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

Contents

Description

 

Documentation

logIO :: Priority -> String -> IO () Source #

logT :: MonadTrans t => Priority -> String -> t IO () Source #

type Taffy m v = MonadIO m => ReaderT Context m v Source #

type TaffyIO v = ReaderT Context IO 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 #

data BarConfig Source #

Constructors

BarConfig 

Fields

Instances

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

runX11Context :: MonadIO m => Context -> a -> X11Property a -> m a Source #

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

putState :: Typeable t => t -> Taffy IO t 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 #

Orphan instances

IsX11Window Window Source #