mirror of https://gitlab.com/dabruh/dotfiles.git
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 += "disk /mnt/das/hdd4tb-1-main"
|
||||||
order += "read_file borg_backup"
|
order += "read_file borg_backup"
|
||||||
order += "volume master"
|
order += "volume master"
|
||||||
|
order += "battery 0"
|
||||||
order += "tztime local"
|
order += "tztime local"
|
||||||
|
|
||||||
read_file cmusctl.status {
|
read_file cmusctl.status {
|
||||||
|
@ -84,13 +85,26 @@ read_file borg_backup {
|
||||||
}
|
}
|
||||||
|
|
||||||
volume master {
|
volume master {
|
||||||
format = "🎵: %volume"
|
format = "🔊 %volume"
|
||||||
format_muted = "🔇: %volume"
|
format_muted = "🔇 %volume"
|
||||||
device = "default"
|
device = "default"
|
||||||
mixer = "Master"
|
mixer = "Master"
|
||||||
mixer_idx = 0
|
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 {
|
tztime local {
|
||||||
format = "%Y-%m-%d %H:%M:%S"
|
format = "%Y-%m-%d %H:%M:%S"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue