Single script for all batteries

This commit is contained in:
2025-05-31 17:34:00 +03:00
parent 6454e76140
commit d66332ed2a
3 changed files with 77 additions and 7 deletions

View File

@ -40,7 +40,8 @@ STAT=$(echo "$bt" | rg ": ([\w\s]+)," -or '$1')
ICON=$(geticon "$BAT" "$STAT")
COLOR=$(getcolor "$BAT" "$STAT")
echo "$ICON" $(($1 + 1)): "$BAT"%
#echo "$ICON" $(($1 + 1)): "$BAT"%
echo "$ICON" "$BAT"%
echo "$ICON" "$BAT"%
echo "$COLOR"