summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gpu.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gpu.c b/src/gpu.c
index df75cdf..ea69841 100644
--- a/src/gpu.c
+++ b/src/gpu.c
@@ -51,7 +51,10 @@ const char *display_gpu() {
"sed 's/ Core Processor Integrated Graphics Controller//'");
#elif defined(__linux__)
return run_gpu_command("lspci | grep VGA | sed 's/^.*: //' | "
- "sed 's/Corporation //' | sed 's/ (.*$//'");
+ "sed 's/Corporation //' | sed 's/ (.*$//' | "
+ "sed 's/Advanced Micro Devices//' | "
+ "sed 's/, Inc. //' | sed 's/Navi [0-9]* //' | "
+ "sed 's/\\[//g' | sed 's/\\]//g'");
#else
if (
access("/bin/glxinfo", F_OK) == -1 &&