Use glxinfo for all BSD versions

This commit is contained in:
Dylan 2016-05-06 03:44:09 +10:00
parent 87b6580619
commit f00eb22c15

View file

@ -1163,7 +1163,7 @@ getgpu () {
gpu=${gpu//\'}
;;
"OpenBSD"*)
*)
gpu=$(glxinfo | grep -F 'OpenGL renderer string')
gpu=${gpu/'OpenGL renderer string: '}
;;