diff --git a/neofetch b/neofetch index 5a3bd2cb..8cf4d888 100755 --- a/neofetch +++ b/neofetch @@ -3359,6 +3359,7 @@ get_gpu_driver() { } get_cols() { + local blocks blocks2 cols if [[ "$color_blocks" == "on" ]]; then # Convert the width to space chars. printf -v block_width "%${block_width}s"