From e0e0033fc842766ba099e38f7e8e9edc07d1b132 Mon Sep 17 00:00:00 2001 From: Daniel Gurney Date: Sun, 2 Feb 2020 17:19:49 +0200 Subject: [PATCH] Add patterns for AMD CPUs with numeric core counts --- neofetch | 2 ++ 1 file changed, 2 insertions(+) diff --git a/neofetch b/neofetch index 3b1112c1..4a318f09 100755 --- a/neofetch +++ b/neofetch @@ -2191,6 +2191,8 @@ get_cpu() { cpu="${cpu//Quad-Core}" cpu="${cpu//Six-Core}" cpu="${cpu//Eight-Core}" + cpu="${cpu//[1-9][0-9]-Core}" + cpu="${cpu//[0-9]-Core}" cpu="${cpu//, * Compute Cores}" cpu="${cpu//Core / }" cpu="${cpu//(\"AuthenticAMD\"*)}"