Originally Posted by dk75 Oh. Forgot about ")" at the end: Code: MOTHER TEMP: ${alignr}${execp sensors it8721-isa-0a10 | mawk '/temp1/ {gsub(/(\+)|(\..)/,"",$2); gsub(/(\+)|(\..)|(,)|(\))/,"",$8); print $2" / ${color #FCAF3E}"$8}'}${color} Change it to: Code: ${font AvantGarde LT ExtraLight:pixelsize=10}${goto 32}HD-DISK TEMP:${alignr}${exec hddtemp /dev/sda -n --unit=C}°C / ${color #FCAF3E}70°C$color Thanks for the help, here is a screenie to show what I/we have come up with:
MOTHER TEMP: ${alignr}${execp sensors it8721-isa-0a10 | mawk '/temp1/ {gsub(/(\+)|(\..)/,"",$2); gsub(/(\+)|(\..)|(,)|(\))/,"",$8); print $2" / ${color #FCAF3E}"$8}'}${color}
${font AvantGarde LT ExtraLight:pixelsize=10}${goto 32}HD-DISK TEMP:${alignr}${exec hddtemp /dev/sda -n --unit=C}°C / ${color #FCAF3E}70°C$color
View Tag Cloud
Ubuntu Forums Code of Conduct
Bookmarks