From bf4bd9a10b3bb04b074bdac7f7dfadc38d9844fb Mon Sep 17 00:00:00 2001 From: Dylan Date: Sun, 13 Mar 2016 08:50:21 +1100 Subject: [PATCH] Fix missing index line causing battery titles to not display correctly --- neofetch | 1 + 1 file changed, 1 insertion(+) diff --git a/neofetch b/neofetch index 2a8ed4b1..b1aac63d 100755 --- a/neofetch +++ b/neofetch @@ -1481,6 +1481,7 @@ getbattery () { "barinfo") prin "${title}${index}: $(bar "${bat/'%'}" 100) ${bat}%" ;; *) prin "${title}${index}: ${bat}%" ;; esac + index=$((index + 1)) done return fi