From 59cc2f61ce657d8ec26e6c8a07c555b63a1232d3 Mon Sep 17 00:00:00 2001 From: Dylan Date: Sat, 6 Feb 2016 01:27:17 +1100 Subject: [PATCH] Remove check for battery num --- fetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fetch b/fetch index 6e57db5a..b36b6906 100755 --- a/fetch +++ b/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