scar45 / conky_synthwave_neon

Synthwave-inspired Conky theme with weather support and a spiffy layout.
https://ko-fi.com//i/IF2F11HT4A
GNU General Public License v3.0
122 stars 17 forks source link

improvement suggestion (cpu model name) #2

Closed simon-mueller closed 8 years ago

simon-mueller commented 8 years ago

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 8 years ago

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 https://github.com/scar45/conky_solar_burn/commit/63f411062e71802276c17054a7b2e1fb09d62871 -- thanks again @simon-mueller!