Merge branch 'master' of https://github.com/dylanaraps/neofetch
This commit is contained in:
commit
dcf51866ec
1 changed files with 1 additions and 1 deletions
2
neofetch
2
neofetch
|
@ -983,7 +983,7 @@ getgpu() {
|
||||||
|
|
||||||
"BSD" | "Solaris")
|
"BSD" | "Solaris")
|
||||||
case "$distro" in
|
case "$distro" in
|
||||||
"FreeBSD"*)
|
"FreeBSD"* | "DragonFlyBSD"* | "PacBSD"*)
|
||||||
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//\'}"
|
||||||
|
|
Loading…
Reference in a new issue