diff --git a/neofetch b/neofetch index 0785c022..c1528221 100755 --- a/neofetch +++ b/neofetch @@ -2068,6 +2068,10 @@ get_gpu() { case "$gpu" in *"advanced"*) + brand="${gpu/*AMD*ATI*/AMD ATI}" + brand="${brand:-${gpu/*AMD*/AMD}}" + brand="${brand:-${gpu/*ATI*/ATi}}" + gpu="${gpu/'[AMD/ATI]' }" gpu="${gpu/'[AMD]' }" gpu="${gpu/OEM }" @@ -2075,7 +2079,7 @@ get_gpu() { gpu="${gpu/ \/ *}" gpu="${gpu/*\[}" gpu="${gpu/\]*}" - gpu="AMD $gpu" + gpu="$brand $gpu" ;; *"nvidia"*)