Remove check for battery num

This commit is contained in:
Dylan 2016-02-06 01:27:17 +11:00
parent 4ad5cf791d
commit 59cc2f61ce

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