From 11b8ee6ea98bf1d0fc8659319cc9dc7ee196e664 Mon Sep 17 00:00:00 2001 From: Justin Gallagher Date: Sun, 21 Oct 2018 23:39:07 -0700 Subject: [PATCH 1/2] Set GPU to Not Found if intel check fails --- screenfetch-dev | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/screenfetch-dev b/screenfetch-dev index 52c8e8b..feb31ae 100755 --- a/screenfetch-dev +++ b/screenfetch-dev @@ -1606,7 +1606,7 @@ DetectIntelGPU() { gpu="intel" ;; *) - gpu="Unknown" + gpu="Not Found" ;; esac @@ -1642,7 +1642,7 @@ DetectIntelGPU() { #7th Kabylake #8th Cannonlake *) - gpu='Unknown' + gpu='Not Found' ;; #Unknown GPU model esac fi From 0c8174eb290922b4691607c4354e75132fafd655 Mon Sep 17 00:00:00 2001 From: Justin Gallagher Date: Wed, 24 Oct 2018 19:12:36 -0700 Subject: [PATCH 2/2] Revert to GPU Unknown when intel chip is not recognized --- screenfetch-dev | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/screenfetch-dev b/screenfetch-dev index feb31ae..cff83f5 100755 --- a/screenfetch-dev +++ b/screenfetch-dev @@ -1642,7 +1642,7 @@ DetectIntelGPU() { #7th Kabylake #8th Cannonlake *) - gpu='Not Found' + gpu='Unknown' ;; #Unknown GPU model esac fi