Make battery invisible when not detected
This commit is contained in:
parent
b62661c1ca
commit
c0ac09c0a4
@ -43,6 +43,7 @@ battery 0 {
|
|||||||
#format = "%status %percentage %remaining"
|
#format = "%status %percentage %remaining"
|
||||||
path = "/sys/class/power_supply/BAT0/uevent"
|
path = "/sys/class/power_supply/BAT0/uevent"
|
||||||
#format = "upower -i /org/freedesktop/UPower/devices/battery_BAT1 | grep -E 'state|to\ full|percentage'"
|
#format = "upower -i /org/freedesktop/UPower/devices/battery_BAT1 | grep -E 'state|to\ full|percentage'"
|
||||||
|
format_down = ""
|
||||||
}
|
}
|
||||||
|
|
||||||
battery 1 {
|
battery 1 {
|
||||||
|
Loading…
Reference in New Issue
Block a user