Skip to content

Commit d914d3e

Browse files
[PR] dylanaraps/neofetch#2448 from EllisK-L - Fixed GPU not displaying in Haiku
Upstream PR: dylanaraps/neofetch#2448 Thanks to @EllisK-L Co-authored-by: ellisk-l <ellis.keener.lacroix@gmail.com>
2 parents 7da1531 + 7eb4102 commit d914d3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

neofetch

100755100644
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3492,7 +3492,7 @@ get_gpu() {
34923492

34933493
"Haiku")
34943494
gpu="$(listdev | grep -A2 -F 'device Display controller' |\
3495-
awk -F':' '/device beef/ {print $2}')"
3495+
awk -F':' '/device [^D]/ {print $2}')"
34963496
;;
34973497

34983498
*)

0 commit comments

Comments
 (0)