diff --git a/inxi b/inxi index 6efb218..16c64ea 100755 --- a/inxi +++ b/inxi @@ -1,7 +1,7 @@ #!/bin/bash ######################################################################## #### Script Name: inxi -#### version: 0.1.28 +#### version: 0.1.29 #### Date: October 28 2008 ######################################################################## #### inxi is a fork of infobash, the original bash sys info script by locsmif @@ -1191,6 +1191,14 @@ print_it_out() fi print_screen_output "$long_gfx" + i=1 + while [[ -n ${GFX[i]} && $i -le 3 ]] + do + long_gfx=$( printf "${C1}%-${INDENT}s${C2} %s" " " "${C1}Card $(($1+1))${C2} ${GFX[i]}" ) + print_screen_output "$long_gfx" + (( i++ )) + done + if ((X)) && ! ((MESA)) then #long_gfx="$( echo -ne "${INDENT}${C1}GLX Renderer${C2} ${GLXR}${CN} | ${C1}GLX Version${C2} ${GLXV}${CN}" )" @@ -1202,14 +1210,7 @@ print_it_out() fi print_screen_output "$long_gfx" - i=1 - while [[ -n ${GFX[i]} && $i -le 3 ]] - do - long_gfx=$( printf "${C1}%-${INDENT}s${C2} %s" " " "${GFX[i]}" ) - print_screen_output "$long_gfx" - (( i++ )) - done - + if [ "$VERBOSITY_LEVEL" -ge 2 ] then print_networking_data