Fix whitespace issues with BSD GPu suppot
This commit is contained in:
parent
2b72944289
commit
2147ff9c05
1 changed files with 1 additions and 0 deletions
1
neofetch
1
neofetch
|
@ -1329,6 +1329,7 @@ getgpu () {
|
||||||
gpu=$(pciconf -lv 2>/dev/null | grep -B 4 "VGA" | grep "device")
|
gpu=$(pciconf -lv 2>/dev/null | grep -B 4 "VGA" | grep "device")
|
||||||
gpu=${gpu/device*= }
|
gpu=${gpu/device*= }
|
||||||
gpu=${gpu//\'}
|
gpu=${gpu//\'}
|
||||||
|
gpu=${gpu// / }
|
||||||
;;
|
;;
|
||||||
|
|
||||||
*)
|
*)
|
||||||
|
|
Loading…
Reference in a new issue