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

Navi.Services.Battery.Status

Description

This module provides a service for alerts related to battery statuses.

Synopsis

Documentation

data BatteryStatusToml Source #

TOML for the battery status service.

Instances

Instances details
Show BatteryStatusToml Source # 
Instance details

Defined in Navi.Services.Battery.Status.Toml

Eq BatteryStatusToml Source # 
Instance details

Defined in Navi.Services.Battery.Status.Toml

DecodeTOML BatteryStatusToml Source #

Since: 0.1

Instance details

Defined in Navi.Services.Battery.Status.Toml

(k ~ A_Lens, a ~ BatteryApp, b ~ BatteryApp) => LabelOptic "app" k BatteryStatusToml BatteryStatusToml a b Source # 
Instance details

Defined in Navi.Services.Battery.Status.Toml

(k ~ A_Lens, a ~ Maybe ErrorNoteToml, b ~ Maybe ErrorNoteToml) => LabelOptic "errorNote" k BatteryStatusToml BatteryStatusToml a b Source # 
Instance details

Defined in Navi.Services.Battery.Status.Toml

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

Defined in Navi.Services.Battery.Status.Toml

(k ~ A_Lens, a ~ Maybe PollInterval, b ~ Maybe PollInterval) => LabelOptic "pollInterval" k BatteryStatusToml BatteryStatusToml a b Source # 
Instance details

Defined in Navi.Services.Battery.Status.Toml

(k ~ A_Lens, a ~ Maybe RepeatEventToml, b ~ Maybe RepeatEventToml) => LabelOptic "repeatEvent" k BatteryStatusToml BatteryStatusToml a b Source # 
Instance details

Defined in Navi.Services.Battery.Status.Toml

toEvent :: MonadIORef m => BatteryStatusToml -> m AnyEvent Source #

Transforms toml configuration data into an AnyEvent.