Fix missing index line causing battery titles to not display correctly

This commit is contained in:
Dylan 2016-03-13 08:50:21 +11:00
parent 2d5f151b7e
commit bf4bd9a10b

View file

@ -1481,6 +1481,7 @@ getbattery () {
"barinfo") prin "${title}${index}: $(bar "${bat/'%'}" 100) ${bat}%" ;; "barinfo") prin "${title}${index}: $(bar "${bat/'%'}" 100) ${bat}%" ;;
*) prin "${title}${index}: ${bat}%" ;; *) prin "${title}${index}: ${bat}%" ;;
esac esac
index=$((index + 1))
done done
return return
fi fi