mirror of
https://gitlab.com/dabruh/dotfiles.git
synced 2024-12-25 09:35:57 +01:00
Add battery information.
This commit is contained in:
parent
c748f9ea78
commit
82d1074178
|
@ -21,6 +21,7 @@ order += "disk /mnt/das/hdd2tb-1-main"
|
|||
order += "disk /mnt/das/hdd4tb-1-main"
|
||||
order += "read_file borg_backup"
|
||||
order += "volume master"
|
||||
order += "battery 0"
|
||||
order += "tztime local"
|
||||
|
||||
read_file cmusctl.status {
|
||||
|
@ -84,13 +85,26 @@ read_file borg_backup {
|
|||
}
|
||||
|
||||
volume master {
|
||||
format = "🎵: %volume"
|
||||
format_muted = "🔇: %volume"
|
||||
format = "🔊 %volume"
|
||||
format_muted = "🔇 %volume"
|
||||
device = "default"
|
||||
mixer = "Master"
|
||||
mixer_idx = 0
|
||||
}
|
||||
|
||||
battery 0 {
|
||||
format = "%status %percentage"
|
||||
format_down = "No battery"
|
||||
status_chr = "⚡"
|
||||
status_bat = "🪫"
|
||||
status_full = "🔋"
|
||||
status_unk = "?"
|
||||
low_threshold = 20
|
||||
last_full_capacity = true
|
||||
integer_battery_capacity = true
|
||||
path = "/sys/class/power_supply/BAT%d/uevent"
|
||||
}
|
||||
|
||||
tztime local {
|
||||
format = "%Y-%m-%d %H:%M:%S"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue