shrun-0.9: A utility program for running shell commands concurrently.
Safe HaskellNone
LanguageGHC2021

Shrun.Notify

Description

Module for sending notifications.

Synopsis

Documentation

sendNotif Source #

Arguments

:: (HasAnyError env, HasCallStack, HasCommonLogging env, HasConsoleLogging env (Region m), HasFileLogging env, HasNotifyConfig env, MonadNotify m, MonadReader env m, MonadRegionLogger m, MonadSTM m, MonadTime m) 
=> UnlinedText

Notif summary

-> UnlinedText

Notif body

-> UrgencyLevel

Notif urgency

-> m () 

Sends a notification if they are enabled (linux only). Logs any failed sends.