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