mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-10-04 01:00:17 +00:00
GPU: Fix bug with sound card being detected, closes #491
This commit is contained in:
2
neofetch
2
neofetch
@@ -947,7 +947,7 @@ get_cpu_usage() {
|
||||
get_gpu() {
|
||||
case "$os" in
|
||||
"Linux" | "GNU")
|
||||
gpu="$(PATH="/sbin:$PATH" lspci -mm | awk -F '\\"|\\" \\"' '/Display|3D|VGA/ {print $3 " " $4}')"
|
||||
gpu="$(PATH="/sbin:$PATH" lspci -mm | awk -F '\\"|\\" \\"' '/"Display|"3D|"VGA/ {print $3 " " $4}')"
|
||||
|
||||
case "$gpu" in
|
||||
*"advanced"*)
|
||||
|
Reference in New Issue
Block a user