From 21242e1fd822b98159f488e7d96d0da97a39aa7f Mon Sep 17 00:00:00 2001 From: Dylan Date: Fri, 6 May 2016 03:39:28 +1000 Subject: [PATCH] GPU support for OpenBSD --- neofetch | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/neofetch b/neofetch index 66857117..bbc4d0d9 100755 --- a/neofetch +++ b/neofetch @@ -1162,6 +1162,11 @@ getgpu () { gpu=${gpu/device*= } gpu=${gpu//\'} ;; + + "OpenBSD"*) + gpu=$(glxinfo | grep 'OpenGL renderer string') + gpu=${gpu/'OpenGL renderer string: '} + ;; esac ;;