i3status-rust do not show battery if none exists
This commit is contained in:
parent
7dd027742c
commit
7f910fd34d
@ -36,7 +36,7 @@ on_click = "~/.config/i3/scripts/pulse_popup"
|
||||
block = "battery"
|
||||
interval = 10
|
||||
format = "{percentage} ({time})"
|
||||
# if_command = "test -e /sys/class/power_supply/BAT0"
|
||||
if_command = "test -e /sys/class/power_supply/BAT0"
|
||||
|
||||
[[block]]
|
||||
block = "time"
|
||||
|
Loading…
x
Reference in New Issue
Block a user