From 0d89e1a400851a157d65eb3cd59416d97a66df01 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Wed, 25 Apr 2018 11:42:11 +1000 Subject: [PATCH] gpu: Fix ATI/AMD branding issue. --- neofetch | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/neofetch b/neofetch index b94fb27c..c70c2516 100755 --- a/neofetch +++ b/neofetch @@ -1313,8 +1313,10 @@ get_gpu() { case "$gpu" in *"advanced"*) - brand="${gpu/*AMD*/AMD}" + 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 }"