From a6b45e3e28afdab0ee16389cb83cf9abb40af31d Mon Sep 17 00:00:00 2001 From: pants Date: Sun, 29 Mar 2026 16:20:58 -1000 Subject: [PATCH] fix --- bin/st-power | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/bin/st-power b/bin/st-power index 88ee0ee..e3fe69a 100755 --- a/bin/st-power +++ b/bin/st-power @@ -40,15 +40,15 @@ fi STATUS=$(cat /sys/class/power_supply/BAT*/status) -case "$STATUS" in - "Charging") - STATUS="+";; - "Discharging") - STATUS="-";; - "Not Charging") - STATUS="...";; -esac +#case "$STATUS" in +# "Charging") +# STATUS="+";; +# "Discharging") +# STATUS="-";; +# "Not Charging") +# STATUS="...";; +#esac CHARGE="$(cat /sys/class/power_supply/BAT*/capacity)%" -echo "$CHARGE $STATUS$POWER" +echo "$CHARGE $POWER $STATUS"