Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
This module provides toml configuration for the battery percentage service.
Synopsis
- data BatteryPercentageToml = MkBatteryPercentageToml {
- alerts :: NonEmpty BatteryPercentageNoteToml
- pollInterval :: Maybe PollInterval
- repeatEvent :: Maybe RepeatEventToml
- errorNote :: Maybe ErrorNoteToml
- app :: BatteryApp
- data BatteryPercentageNoteToml = MkBatteryPercentageNoteToml {
- percentage :: Percentage
- urgency :: Maybe UrgencyLevel
- mTimeout :: Maybe Timeout
Documentation
data BatteryPercentageToml Source #
TOML for the battery percentage service.
MkBatteryPercentageToml | |
|
Instances
data BatteryPercentageNoteToml Source #
TOML for each individual battery percentage.
MkBatteryPercentageNoteToml | |
|
Instances
Show BatteryPercentageNoteToml Source # | |
Defined in Navi.Services.Battery.Percentage.Toml | |
Eq BatteryPercentageNoteToml Source # | |
DecodeTOML BatteryPercentageNoteToml Source # | Since: 0.1 |
(k ~ A_Lens, a ~ Maybe Timeout, b ~ Maybe Timeout) => LabelOptic "mTimeout" k BatteryPercentageNoteToml BatteryPercentageNoteToml a b Source # | |
(k ~ A_Lens, a ~ Percentage, b ~ Percentage) => LabelOptic "percentage" k BatteryPercentageNoteToml BatteryPercentageNoteToml a b Source # | |
(k ~ A_Lens, a ~ Maybe UrgencyLevel, b ~ Maybe UrgencyLevel) => LabelOptic "urgency" k BatteryPercentageNoteToml BatteryPercentageNoteToml a b Source # | |