GPU: [Linux] lspci, look for 'Display'

This commit is contained in:
Dylan Araps 2016-11-30 07:06:34 +11:00
parent 07c4f9fc52
commit 691dc9bad4
1 changed files with 1 additions and 1 deletions

View File

@ -927,7 +927,7 @@ get_gpu() {
if [[ -f "/tmp/neofetch/gpu" ]]; then
source "/tmp/neofetch/gpu"
else
gpu="$(PATH="/sbin:$PATH" lspci -mm | awk -F '\\"|\\" \\"' '/3D|VGA/ {print $3 " " $4}')"
gpu="$(PATH="/sbin:$PATH" lspci -mm | awk -F '\\"|\\" \\"' '/Display|3D|VGA/ {print $3 " " $4}')"
case "$gpu" in
*"advanced"*)