conky: battery_estimate: fix formatting

This commit is contained in:
Colin 2023-11-19 01:51:15 +00:00
parent 2fccaf684c
commit 97ec517a1e

View File

@ -25,6 +25,7 @@ try_path() {
rate=-$(cat "$1/energy_now")
fi
}
try_path "/sys/class/power_supply/axp20x-battery" # Pinephone
try_path "/sys/class/power_supply/BAT0" # Thinkpad