Open flyweb291 opened 2 years ago
I have the same problem, my notebook is mac m1 pro 16, I found the information of /usr/bin/sw_vers as follows
So I modified /opt/homebrew/Cellar/screenfetch/3.9.1/bin/screenfetch The content is if [[ -x /usr/bin/sw_vers ]] && /usr/bin/sw_vers | grep -i 'macOS' >/dev/null; then
Now it looks normal XD
To support legacy MacOS version string, My change was:
[Original code] if [[ -x /usr/bin/sw_vers ]] && /usr/bin/sw_vers | grep -i 'Mac OS X' >/dev/null; then
[Changed code] if [[ -x /usr/bin/sw_vers ]] && /usr/bin/sw_vers | grep -i -e 'Mac OS X' -e 'macOS' >/dev/null; then
I type screenfetch and it prompts for awk: can't open file /proc/cpuinfo and grep: /proc/cpuinfo: No such file or directory
I can't find /proc/cpuinfo in the file either