GPU support for OpenBSD
This commit is contained in:
parent
f28530b089
commit
21242e1fd8
1 changed files with 5 additions and 0 deletions
5
neofetch
5
neofetch
|
@ -1162,6 +1162,11 @@ getgpu () {
|
||||||
gpu=${gpu/device*= }
|
gpu=${gpu/device*= }
|
||||||
gpu=${gpu//\'}
|
gpu=${gpu//\'}
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
"OpenBSD"*)
|
||||||
|
gpu=$(glxinfo | grep 'OpenGL renderer string')
|
||||||
|
gpu=${gpu/'OpenGL renderer string: '}
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue