Remove check for battery num

This commit is contained in:
Dylan 2016-02-06 01:27:17 +11:00
parent 4ad5cf791d
commit 59cc2f61ce
1 changed files with 1 additions and 1 deletions

2
fetch
View File

@ -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