From 47138e8bc0aca2c39ead7dd2b684a62bc3f18cff Mon Sep 17 00:00:00 2001 From: Aaron Bieber Date: Sun, 20 Sep 2020 08:41:33 -0600 Subject: [PATCH] Use proper offset for pbp --- bin/bar | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/bar b/bin/bar index e5c7d6e..c437099 100755 --- a/bin/bar +++ b/bin/bar @@ -109,7 +109,7 @@ battery() { if sysctl -n hw.product | grep -iq pine64; then pct=$(sysctl -n hw.sensors.cwfg0.percent0) pct=${pct%%.*} - set -A batt_info $pct 0 0 + set -A batt_info 0 $pct 0 0 else set -A batt_info $(apm -almb) fi