The graphs were starting to annoy me.

This commit is contained in:
Bradley M. Kuhn 2013-09-07 11:46:12 -04:00
parent 7b01a1bd5c
commit 13827ae178

View file

@ -60,8 +60,8 @@ ${color}${font Inconsolata:size=11}${execpi 810 /usr/bin/gcal -H T:t:H:h %`date
${voffset -10}${color2}${font led:size=10}CPU ${font}$hr
Overall temperature: ${acpitemp}°C
${color}Core 0: ${cpu cpu0}% ${freq_g (0)} GHz ${goto 200}Temp:${goto 200}${voffset 10}${exec sensors | grep "Core 0" | cut --bytes=14-21} ${voffset -10}${execgraph sensors |perl -ne 'if (s/^\s*Core\s+\d+\s*:\s*[\+\-]\s*([\d\.]+).*$/$1/) { $_ -= 10; print "$_\n";}'}
${color}Core 1: ${cpu cpu1}% ${freq_g (1)} GHz ${goto 200}Temp:${goto 200}${voffset 10}${exec sensors | grep "Core 1" | cut --bytes=14-21} ${voffset -10}${execgraph sensors |perl -ne 'if (s/^\s*Core\s+\d+\s*:\s*[\+\-]\s*([\d\.]+).*$/$1/) { $_ -= 10; print "$_\n";}'}
${color}Core 0: ${cpu cpu0}% ${freq_g (0)} GHz ${goto 200}Temp:${goto 200}${voffset 10}${exec sensors | grep "Core 0" | cut --bytes=14-21}
${color}Core 1: ${cpu cpu1}% ${freq_g (1)} GHz ${goto 200}Temp:${goto 200}${voffset 10}${exec sensors | grep "Core 1" | cut --bytes=14-21} ${voffset -10}
Load: ${loadgraph}
${voffset -10}${color2}${font led:size=10}DISK I/O ${font}$hr