[PR] dylanaraps/neofetch#2448 from EllisK-L - Fixed GPU not displaying in Haiku

Upstream PR: https://github.com/dylanaraps/neofetch/pull/2448
Thanks to @EllisK-L

Co-authored-by: ellisk-l <ellis.keener.lacroix@gmail.com>
This commit is contained in:
Azalea Gui 2024-03-04 00:17:27 -05:00
commit d914d3ea2b

2
neofetch Executable file → Normal file
View file

@ -3492,7 +3492,7 @@ get_gpu() {
"Haiku")
gpu="$(listdev | grep -A2 -F 'device Display controller' |\
awk -F':' '/device beef/ {print $2}')"
awk -F':' '/device [^D]/ {print $2}')"
;;
*)