From 0bd5b7015b2df0c863b568ab37ff9369b1aafc7a Mon Sep 17 00:00:00 2001 From: NishiOwO Date: Fri, 22 Mar 2024 20:59:11 +0900 Subject: [PATCH] fixing cpu being 686-class, or whatever --- neofetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neofetch b/neofetch index 48b96d21..05d16695 100755 --- a/neofetch +++ b/neofetch @@ -2331,7 +2331,7 @@ get_cpu() { "BSD") # Get CPU name. - cpu="$(sysctl -n hw.model)" + cpu="$(sysctl -n machdep.cpu_brand || sysctl -n hw.model)" cpu="${cpu/[0-9]\.*}" cpu="${cpu/ @*}"