dzen-dhall-1.0.2: Configure dzen2 bars in Dhall language

Safe HaskellNone
LanguageHaskell2010

DzenDhall.Event

Synopsis

Documentation

data PipeCommand Source #

Instances
Eq PipeCommand Source # 
Instance details

Defined in DzenDhall.Event

Show PipeCommand Source # 
Instance details

Defined in DzenDhall.Event

launchEventListener :: Subscriptions -> ClickableAreas -> App Forked () Source #

Start reading lines from a named pipe used to route events. On each event, try to parse it, and find which event subscriptions does the event affect.

runStateVariableSetter :: BarRuntime -> Scope -> AutomatonAddress -> AutomatonState -> IO () Source #

Set a variable named STATE_address

routedEventParser :: Parser PipeCommand Source #

E.g.

parseMaybe routedEventParser
  "event:MouseLeft@some-scope" ==
     Just (RoutedEvent (MouseEvent MouseLeft) "some-scope")