From 2f46385cf0db11add0d0e275196aef0e89ee90c9 Mon Sep 17 00:00:00 2001 From: Muhammad Herdiansyah Date: Sun, 30 Oct 2016 23:40:48 +0700 Subject: [PATCH] GPU: Used FreeBSD's method for DragonFlyBSD and PacBSD --- neofetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neofetch b/neofetch index 4eb41f02..a481e409 100755 --- a/neofetch +++ b/neofetch @@ -983,7 +983,7 @@ getgpu() { "BSD" | "Solaris") case "$distro" in - "FreeBSD"*) + "FreeBSD"* | "DragonFlyBSD"* | "PacBSD"*) gpu="$(pciconf -lv 2>/dev/null | grep -B 4 "VGA" | grep "device")" gpu="${gpu/*device*= }" gpu="${gpu//\'}"