-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathbato.toml
More file actions
54 lines (44 loc) · 1.21 KB
/
bato.toml
File metadata and controls
54 lines (44 loc) · 1.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# The tick rate, in second, at which battery info is polled
# default: 30
tick_rate = 30
# The battery to monitor, located in `/sys/class/power_supply/<BAT_NAME>/`
# If not provided, bato will try to find one
# bat_name = "BAT0"
# The critical level of the battery, as a percentage
# default 5
critical_level = 5
# The low level of the battery, as a percentage
# default 20
low_level = 20
# Whether the current level is calculated based on the full design value
# default true
full_design = true
# # # # #
# Notifications settings
# If you omit one, the corresponding notification is disabled
# They take the following properties:
# `summary` main notification text, oneline (required)
# `body` optional multiline text
# `icon` optional icon name (from a freedesktop.org-compliant icon theme)
# `urgencey` optional urgency level, low | normal | critical
[charging]
summary = "Battery"
body = "Charging"
icon = "battery-good-charging"
[discharging]
summary = "Battery"
body = "Discharging"
icon = "battery-good"
[full]
summary = "Battery"
body = "Full"
icon = "battery-full"
[low]
summary = "Battery"
body = "Low"
icon = "battery-low"
[critical]
summary = "Battery"
body = "Critical!"
icon = "battery-caution"
urgency = "critical"