ss7m / paleofetch

neofetch, but written in C
MIT License
167 stars 50 forks source link

Add fallback method for CPU frequency #51

Closed dwzg closed 4 years ago

dwzg commented 4 years ago

This adds a fallback method to get the CPU frequency by parsing /proc/cpuinfo. This is necessary for computers that do not provide the cpufreq interface, like my ancient ThinkPad 600X.

Tested on ThinkPad 600X

Before: error

After: noerror