From 598731bf89492f66cdeca7ffd10ba9b6860b84f6 Mon Sep 17 00:00:00 2001 From: malik Date: Thu, 12 Oct 2023 13:07:47 +0200 Subject: [PATCH 1/2] no hackintosh check on arm64 --- neofetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neofetch b/neofetch index 48b96d215..99e4e8a23 100755 --- a/neofetch +++ b/neofetch @@ -1257,7 +1257,7 @@ get_model() { ;; "Mac OS X"|"macOS") - if [[ $(kextstat | grep -F -e "FakeSMC" -e "VirtualSMC") != "" ]]; then + if [ "$(arch)" != "arm64" ] && [[ $(kextstat | grep -F -e "FakeSMC" -e "VirtualSMC") != "" ]]; then model="Hackintosh (SMBIOS: $(sysctl -n hw.model))" else model=$(sysctl -n hw.model) From 0729e40e00aebb434e38f19b3b859a9f0688032f Mon Sep 17 00:00:00 2001 From: malik Date: Thu, 12 Oct 2023 13:40:40 +0200 Subject: [PATCH 2/2] simplify iterm profile check --- neofetch | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/neofetch b/neofetch index 99e4e8a23..08ca3715c 100755 --- a/neofetch +++ b/neofetch @@ -3384,12 +3384,7 @@ END # See: https://groups.google.com/forum/#!topic/iterm2-discuss/0tO3xZ4Zlwg local current_profile_name profiles_count profile_name diff_font - current_profile_name="$(osascript <