Remove check for battery num
This commit is contained in:
parent
4ad5cf791d
commit
59cc2f61ce
1 changed files with 1 additions and 1 deletions
2
fetch
2
fetch
|
@ -1234,7 +1234,7 @@ getbattery () {
|
|||
else
|
||||
# If there's only a single battery and it's battery 0,
|
||||
# don't number the subtitle.
|
||||
if [ "${#batteries[@]}" == 1 ] && [ "$battery_num" == 0 ]; then
|
||||
if [ "${#batteries[@]}" == 1 ]; then
|
||||
battery="$(prin "${title}: ${batteries[0]}%")"
|
||||
return
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue