Im trying to get conky to show my current cpu-speed
Code:
${execi 5 cat /proc/cpuinfo | grep 'model name' | sed -e 's/model name.*: //' | sed -e 's/@ //' | tail -n1} @ ${execi 5 cat /proc/cpuinfo | grep -w cpu\ MHz | sed -e 's/cpu.*MHz.*://' | sed -e 's/000//' | tail -n1}Mhz
but get i cant get rid of the last . when running at 800Mhz (showing 800.MHz), when running at 2Ghz it shows '2.000MHz'
Im not sure if thats understandable :$