diff --git a/inxi b/inxi index 83a92aa..38c0d85 100755 --- a/inxi +++ b/inxi @@ -1,7 +1,7 @@ #!/bin/bash ######################################################################## #### Script Name: inxi -#### version: 1.0.7-b1-t3 +#### version: 1.0.7-b1-t4 #### Date: 13 March 2009 ######################################################################## #### SPECIAL THANKS @@ -1894,8 +1894,8 @@ get_graphics_glx_data() # A_GLX_DATA=( $( cat ../../modules/data/glxinfo-atom-1r | gawk -F ': ' ' # A_GLX_DATA=( $( cat ../../modules/data/glxinfo-intel-sput | gawk -F ': ' ' # there are arch bugs that make glxinfo generate bad output errors - A_GLX_DATA=( $( glxinfo 2>/dev/null | gawk -F ': ' ' - + # A_GLX_DATA=( $( glxinfo | gawk -F ': ' ' + A_GLX_DATA=( $( cat ../../modules/data/glxinfo-bad-rendering | gawk -F ': ' ' # note: function declarations go before BEGIN? It appears so, confirm. # the real question here though is why this function is even here, seems # just to be a complicated way to pack/print a variable, but maybe the @@ -1941,7 +1941,7 @@ get_graphics_glx_data() printf( "%s\n%s\n%s\n", join( a, ", " ), join( b, ", " ), join( c, ", " ) ) }' ) ) IFS="$ORIGINAL_IFS" - + echo A_GLX_DATA: ${A_GLX_DATA[@]} # GLXR=$(glxinfo | gawk -F ': ' 'BEGIN {IGNORECASE=1} /opengl renderer/ && $2 !~ /mesa/ {seen[$2]++} END {for (i in seen) {printf("%s ",i)}}') # GLXV=$(glxinfo | gawk -F ': ' 'BEGIN {IGNORECASE=1} /opengl version/ && $2 !~ /mesa/ {seen[$2]++} END {for (i in seen) {printf("%s ",i)}}') fi