navi-0.1: A utility program for sending system notifications.
Safe HaskellSafe-Inferred
LanguageGHC2021

Navi.Env.NotifySend

Description

Provides environment for usage with NotifySend.

Synopsis

Documentation

newtype NotifySendEnv Source #

Concrete notify-send environment. Adds the dbus client.

Constructors

MkNotifySendEnv 

Fields

mkNotifySendEnv :: MonadSTM m => LogEnv -> Config -> m NotifySendEnv Source #

Creates a NotifySendEnv from the provided log types and configuration data.

naviToNotifySend :: NaviNote -> Text Source #

Turns a NaviNote into a string to be sent with the notify-send tool.