improvement suggestion (cpu model name)
simon-mueller opened this issue · 1 comments
simon-mueller commented
Hi, i tried out your conkyrc and it looks very nice. What could help others would be to replace the hardcoded cpu model name and replace it with this line:
${execi 300 cat /proc/cpuinfo |grep 'model name'|sort -u|awk -F: '{ print $2; }'|awk -F\ \ '{print $1}'}
Best regards
Simon
scar45 commented
Thanks much! It works great, I just had to change the awk -F\
to awk -F:
and it reads the CPU name from /proc/cpuinfo
-- I suppose since it was a value that never changed, it had slipped my mind to improve it, but this will make it great for others.
I have added it with 63f4110 -- thanks again @simon-mueller!