From d20e7b352391f717f441579eb046b9e3f8fd18ec Mon Sep 17 00:00:00 2001 From: Dylan Date: Tue, 26 Jan 2016 12:58:46 +1100 Subject: [PATCH] GPU: Added support for virtualbox gpu --- fetch | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/fetch b/fetch index 22aaf5fd..a64a5381 100755 --- a/fetch +++ b/fetch @@ -715,7 +715,7 @@ getgpu () { gpu=${gpu/'Intel Corporation' } gpu=${gpu/'Haswell-'??? } - brand="Intel" + brand="Intel " ;; advanced*) @@ -726,7 +726,7 @@ getgpu () { gpu=${gpu/' ['} gpu=${gpu/']'} - brand="AMD" + brand="AMD " ;; nvidia*) @@ -737,11 +737,15 @@ getgpu () { gpu=${gpu/'['} gpu=${gpu/']'} - brand="Nvidia" + brand="Nvidia " + ;; + + *virtualbox*) + gpu="VirtualBox Graphics Adapter" ;; esac - gpu="$brand $gpu" + gpu="${brand}${gpu}" ;; "Mac OS X")