diff --git a/neofetch b/neofetch index 5e36617c..d627a4c4 100755 --- a/neofetch +++ b/neofetch @@ -1113,7 +1113,7 @@ get_gpu() { "Linux") # Read GPUs into array. IFS=$'\n' - gpus=($(lspci -mm | awk -F '\\"|\\" \\"' '/"Display|"3D|"VGA/ {print $3 " " $4}')) + gpus=($(lspci -mm | awk -F '\\"|\\" \\"|\\(' '/"Display|"3D|"VGA/ {print $3 " " $4}' | uniq)) IFS="$old_ifs" # Number the GPUs if more than one exists.