diff --git a/fetch b/fetch index ea16cc0c..82de8c1d 100755 --- a/fetch +++ b/fetch @@ -662,7 +662,8 @@ getgpu () { gpu=$(pciconf -lv 2>/dev/null | grep -B 4 "VGA" | grep "device") gpu=${gpu/device*= /} gpu=${gpu//\'/} - gpu=${gpu// } + gpu=${gpu//[[:space:]]/ } + gpu=${gpu// /} ;; esac ;;