From c8cce9acb50d19001d6cb451689d5531b44fc1f5 Mon Sep 17 00:00:00 2001 From: SomaUlte Date: Mon, 23 Jan 2017 04:37:03 -0500 Subject: [PATCH] check for "Intel" in glxinfo grep --- neofetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neofetch b/neofetch index a39804be..6f68d4ac 100755 --- a/neofetch +++ b/neofetch @@ -1075,7 +1075,7 @@ get_gpu() { ;; *"intel"*) - gpu="$(glxinfo | grep -F "Device:")" + gpu="$(glxinfo | grep "Device:.*Intel")" gpu="${gpu/*Intel/Intel}" gpu="${gpu/'(R)'}" gpu="${gpu/ \(*}"