Use glxinfo for all BSD versions
This commit is contained in:
parent
87b6580619
commit
f00eb22c15
1 changed files with 1 additions and 1 deletions
2
neofetch
2
neofetch
|
@ -1163,7 +1163,7 @@ getgpu () {
|
||||||
gpu=${gpu//\'}
|
gpu=${gpu//\'}
|
||||||
;;
|
;;
|
||||||
|
|
||||||
"OpenBSD"*)
|
*)
|
||||||
gpu=$(glxinfo | grep -F 'OpenGL renderer string')
|
gpu=$(glxinfo | grep -F 'OpenGL renderer string')
|
||||||
gpu=${gpu/'OpenGL renderer string: '}
|
gpu=${gpu/'OpenGL renderer string: '}
|
||||||
;;
|
;;
|
||||||
|
|
Reference in a new issue