diff --git a/left.conkyrc b/left.conkyrc index 632ba99..959999f 100644 --- a/left.conkyrc +++ b/left.conkyrc @@ -1,6 +1,7 @@ #!/usr/bin/conky -d -c ## .conkyrc configuration -#update_interval 10.0 +update_interval 7.0 +update_interval_on_battery 20.0 alignment top_left @@ -11,7 +12,7 @@ xftalpha 0.1 double_buffer yes draw_shades yes -own_window_type override +own_window_type desktop own_window yes own_window_transparent yes own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager @@ -24,22 +25,35 @@ color0 555555 color1 FCAF3E color2 Ivory #FFFFF0 #color2 64574e -color3 a82553 -color4 5e1014 +color3 Ivory3 #CDCDC1 +color4 grey40 color5 Red -color6 a7a7a7 -color7 8888CC +color6 Yellow +color7 Green color8 9d9c61 color9 525276 -minimum_size 280 1394 -maximum_width 600 -gap_x 1 +minimum_size 280 499 +maximum_width 499 +gap_x 0 gap_y 1 TEXT -${color2}${font DejaVu Sans:size=8}${time %H}${font DejaVu Sans:size=8}:${time %M} -${color2}${goto 20}${font DejaVu Sans:size=30}${time %H}${font DejaVu Sans:size=28}:${time %M}${color2}${goto 135}${font DejaVu Sans:size=10}${voffset -15}${time %Z}${goto 136}${voffset 12}${font DejaVu Sans:size=6}(${time %z})${color2}${goto 200}${voffset -10}${font :size=15}${time %A %d %B %Y} -${font Inconsolata:size=10}${execpi 18000 ~/hacks/Small-Hacks/org-mode-appt-check.plx} +${color2}${goto 5}${font DejaVu Sans:size=30}${time %H}${font DejaVu Sans:size=28}:${time %M}${color2}${goto 118}${font DejaVu Sans:size=10}${voffset -15}${time %Z}${goto 119}${voffset 12}${font DejaVu Sans:size=6}(${time %z})${color2}${goto 152}${voffset -15}${font :size=12}${time %A %d %B %Y} -${color}${font Inconsolata:size=10}${execpi 14400 /usr/bin/cal -B 1 -A 1 | /bin/cat -v | /usr/bin/perl -ne 'next if /^\s*\d+\s*$/; s/\_\^H(\d)/\${color1}$1\${color}/g; print;'} +${voffset 13}${font Inconsolata:size=13}${execpi 405 ~/hacks/Small-Hacks/org-mode-appt-check.plx} + +${color4}$hr +${color}${font Inconsolata:size=11}${execpi 810 /usr/bin/gcal -H T:t:H:h .. | /usr/bin/perl -ne 'next if /^\s*\d*\s*$/; s/T(\d+)t/\${color7} $1 \${color}/g; print;'} + +${color}${font Inconsolata:size=11}${execpi 810 /usr/bin/gcal -H T:t:H:h %`date +"%Y%m%d" --date='3 months'` ..| /usr/bin/perl -ne 'next if /^\s*\d*\s*$/; s/T(\d+)t/ $1 /g; print;'} + +${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";}'} +Load: ${loadgraph} + +${voffset -10}${color2}${font led:size=10}DISK I/O ${font}$hr +Read: ${diskiograph_read} +Write: ${diskiograph_write}