Commit 691dc9ba authored by Dylan Araps's avatar Dylan Araps

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

parent 07c4f9fc
...@@ -927,7 +927,7 @@ get_gpu() { ...@@ -927,7 +927,7 @@ get_gpu() {
if [[ -f "/tmp/neofetch/gpu" ]]; then if [[ -f "/tmp/neofetch/gpu" ]]; then
source "/tmp/neofetch/gpu" source "/tmp/neofetch/gpu"
else 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 case "$gpu" in
*"advanced"*) *"advanced"*)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment