From 05503e39146261fae20895f773396877fdc83b20 Mon Sep 17 00:00:00 2001 From: dylan araps Date: Wed, 26 Apr 2017 12:32:41 +1000 Subject: [PATCH] GPU: Fix unique cpu filter --- neofetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neofetch b/neofetch index 415d7c89..4150036e 100755 --- a/neofetch +++ b/neofetch @@ -1071,7 +1071,7 @@ get_gpu() { "Linux") # Read GPUs into array. IFS=$'\n' - gpus=($(lspci -mm | awk -F '\\"|\\" \\"' '/"Display|"3D|"VGA/ {print $3 " " $4}' | sort -u)) + gpus=($(lspci -mm | awk -F '\\"|\\" \\"|\(' '/"Display|"3D|"VGA/ {print $3 " " $4}' | sort -u)) IFS="$old_ifs" # Number the GPUs if more than one exists.