I have the same only different.
I don't have header names or the PID as I don't have room. All I had room for was the top 3 processes.
I was just wondering if I could put this in red in what I posted above: (you have to scroll to the right to see the red)
Code:
##################################
## PROCESSORS+TEMPS ##
##################################
${voffset 4}${font DroidSans:bold:size=8}${color4}PROCESSORS+TEMPS${offset 8}${color6}${voffset -2}${hr 1}${font}
${voffset 4}${font StyleBats:size=9.9}${color2}k${voffset -2}${font DroidSansFallback:size=8.39}${color0}${offset 2}CPU1${offset 5}${font DroidSans:size=8.3}${cpu cpu1}%$alignr${if_match "${template9}" == "C"}${execi 1 sensors | grep 'Core 0' | sed 's/.*+\(.*\) \(.*\)/\1/'}${else}${execi 1 sensors -f | grep 'Core 0' | sed 's/.*+\(.*\) \(.*\)/\1/'}${endif}${font}
${voffset 4}${font StyleBats:size=9.9}${color2}k${voffset -2}${font DroidSansFallback:size=8.39}${color0}${offset 2}CPU2${offset 5}${font DroidSans:size=8.3}${cpu cpu2}%$alignr${if_match "${template9}" == "C"}${execi 1 sensors | grep 'Core 1' | sed 's/.*+\(.*\) \(.*\)/\1/'}${else}${execi 1 sensors -f | grep 'Core 1' | sed 's/.*+\(.*\) \(.*\)/\1/'}${endif}${font}
${voffset 4}${font StyleBats:size=9.9}${color2}k${voffset -2}${font DroidSansFallback:size=8.39}${color0}${offset 2}CPU3${offset 5}${font DroidSans:size=8.3}${cpu cpu3}%$alignr${if_match "${template9}" == "C"}${execi 1 sensors | grep 'Core 2' | sed 's/.*+\(.*\) \(.*\)/\1/'}${else}${execi 1 sensors -f | grep 'Core 2' | sed 's/.*+\(.*\) \(.*\)/\1/'}${endif}${font}
${voffset 4}${font StyleBats:size=9.9}${color2}k${voffset -2}${font DroidSansFallback:size=8.39}${color0}${offset 2}CPU4${offset 5}${font DroidSans:size=8.3}${cpu cpu4}%$alignr${if_match "${template9}" == "C"}${execi 1 sensors | grep 'Core 3' | sed 's/.*+\(.*\) \(.*\)/\1/'}${else}${execi 1 sensors -f | grep 'Core 3' | sed 's/.*+\(.*\) \(.*\)/\1/'}${endif}${font}
${voffset 4}${font StyleBats:size=9.9}${color2}k${voffset -2}${font DroidSansFallback:size=8.39}${color0}${offset 2}GPU Temperature: $alignr${if_match "${template9}" == "C"}${execi 1 nvidia-settings -q GPUCoreTemp | awk '{if (NR==2) {print ($4*1)}}'}°C${else}${execi 1 nvidia-settings -q GPUCoreTemp | awk '{if (NR==2) {print ($4*9)/5+32}}'}°F${endif}#
${lua main -n bargraph -p 90,172 -w 120 -s 3 -f cpu -a cpu1}#
${lua main -n bargraph -p 90,190 -w 120 -s 3 -f cpu -a cpu2}#
${lua main -n bargraph -p 90,207 -w 120 -s 3 -f cpu -a cpu3}#
${lua main -n bargraph -p 90,223 -w 120 -s 3 -f cpu -a cpu4}
Execi is defined as the same as exec but with specific interval. I just want it updated quicker if possible.
http://conky.sourceforge.net/variables.html
Bookmarks