Single script for all batteries
This commit is contained in:
@ -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"
|
||||
|
||||
|
Reference in New Issue
Block a user