Navi.Data.NaviNote
Description
Provides the NaviNote type, representing notifications.
NaviNote
data NaviNote Source #
NaviNote represents desktop notifications.
Since: 0.1
Constructors
Fields
Text summary.
Text body.
Urgency (e.g. low, critical)
Determines how long the notification stays on-screen.
Defined in Navi.Data.NaviNote
Methods
showsPrec :: Int -> NaviNote -> ShowS Source #
show :: NaviNote -> String Source #
showList :: [NaviNote] -> ShowS Source #
(==) :: NaviNote -> NaviNote -> Bool Source #
(/=) :: NaviNote -> NaviNote -> Bool Source #
tomlDecoder :: Decoder NaviNote Source #
labelOptic :: Optic k NoIx NaviNote NaviNote a b Source #
data Timeout Source #
Determines how long a notification persists.
showsPrec :: Int -> Timeout -> ShowS Source #
show :: Timeout -> String Source #
showList :: [Timeout] -> ShowS Source #
(==) :: Timeout -> Timeout -> Bool Source #
(/=) :: Timeout -> Timeout -> Bool Source #
tomlDecoder :: Decoder Timeout Source #
_Never :: Prism' Timeout () Source #
_Seconds :: Prism' Timeout Word16 Source #
timeoutOptDecoder :: Decoder (Maybe Timeout) Source #
TOML decoder for optional Timeout with field name "timeout".
Timeout