diff --git a/neofetch b/neofetch index 5e3d39f0..ecb11b0e 100755 --- a/neofetch +++ b/neofetch @@ -1776,7 +1776,7 @@ get_cols() { block_width="${block_width// /█}" # Generate the string. - while (("$start" <= "$end")); do + for ((start; start<=end; i++)); do case "$start" in [0-6]) blocks+="${reset}\033[3${start}m\033[4${start}m${block_width}" ;; 7) blocks+="${reset}\033[3${start}m\033[4${start}m${block_width}" ;;