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

Navi.Services.Battery.Percentage.Toml

Description

This module provides toml configuration for the battery percentage service.

Synopsis

Documentation

data BatteryPercentageToml Source #

TOML for the battery percentage service.

Constructors

MkBatteryPercentageToml 

Fields

Instances

Instances details
Show BatteryPercentageToml Source # 
Instance details

Defined in Navi.Services.Battery.Percentage.Toml

Eq BatteryPercentageToml Source # 
Instance details

Defined in Navi.Services.Battery.Percentage.Toml

DecodeTOML BatteryPercentageToml Source #

Since: 0.1

Instance details

Defined in Navi.Services.Battery.Percentage.Toml

(k ~ A_Lens, a ~ NonEmpty BatteryPercentageNoteToml, b ~ NonEmpty BatteryPercentageNoteToml) => LabelOptic "alerts" k BatteryPercentageToml BatteryPercentageToml a b Source # 
Instance details

Defined in Navi.Services.Battery.Percentage.Toml

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

Defined in Navi.Services.Battery.Percentage.Toml

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

Defined in Navi.Services.Battery.Percentage.Toml

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

Defined in Navi.Services.Battery.Percentage.Toml

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

Defined in Navi.Services.Battery.Percentage.Toml

data BatteryPercentageNoteToml Source #

TOML for each individual battery percentage.

Constructors

MkBatteryPercentageNoteToml 

Fields

Instances

Instances details
Show BatteryPercentageNoteToml Source # 
Instance details

Defined in Navi.Services.Battery.Percentage.Toml

Eq BatteryPercentageNoteToml Source # 
Instance details

Defined in Navi.Services.Battery.Percentage.Toml

DecodeTOML BatteryPercentageNoteToml Source #

Since: 0.1

Instance details

Defined in Navi.Services.Battery.Percentage.Toml

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

Defined in Navi.Services.Battery.Percentage.Toml

(k ~ A_Lens, a ~ Percentage, b ~ Percentage) => LabelOptic "percentage" k BatteryPercentageNoteToml BatteryPercentageNoteToml a b Source # 
Instance details

Defined in Navi.Services.Battery.Percentage.Toml

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

Defined in Navi.Services.Battery.Percentage.Toml