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

Navi.Data.NaviNote

Description

Provides the NaviNote type, representing notifications.

Synopsis

Documentation

data NaviNote Source #

NaviNote represents desktop notifications.

Since: 0.1

Constructors

MkNaviNote 

Fields

Instances

Instances details
Show NaviNote Source # 
Instance details

Defined in Navi.Data.NaviNote

Eq NaviNote Source # 
Instance details

Defined in Navi.Data.NaviNote

DecodeTOML NaviNote Source #

Since: 0.1

Instance details

Defined in Navi.Data.NaviNote

(k ~ A_Lens, a ~ Maybe Text, b ~ Maybe Text) => LabelOptic "body" k NaviNote NaviNote a b Source # 
Instance details

Defined in Navi.Data.NaviNote

(k ~ A_Lens, a ~ Text, b ~ Text) => LabelOptic "summary" k NaviNote NaviNote a b Source # 
Instance details

Defined in Navi.Data.NaviNote

(k ~ A_Lens, a ~ Maybe Timeout, b ~ Maybe Timeout) => LabelOptic "timeout" k NaviNote NaviNote a b Source # 
Instance details

Defined in Navi.Data.NaviNote

(k ~ A_Lens, a ~ Maybe UrgencyLevel, b ~ Maybe UrgencyLevel) => LabelOptic "urgency" k NaviNote NaviNote a b Source # 
Instance details

Defined in Navi.Data.NaviNote

data Timeout Source #

Determines how long a notification persists.

Since: 0.1

Constructors

Never 
Seconds !Word16 

Instances

Instances details
Show Timeout Source # 
Instance details

Defined in Navi.Data.NaviNote

Eq Timeout Source # 
Instance details

Defined in Navi.Data.NaviNote

DecodeTOML Timeout Source #

Since: 0.1

Instance details

Defined in Navi.Data.NaviNote

timeoutOptDecoder :: Decoder (Maybe Timeout) Source #

TOML decoder for optional Timeout with field name "timeout".

Since: 0.1