config/left.conkyrc

69 lines
2.7 KiB
Text

#!/usr/bin/conky -d -c
# Copyright © 2013, Bradley M. Kuhn
# The copyright holders wish that this document could be placed into the public
# domain. However, should such a public domain dedication not be possible, the
# copyright holders grant a waiver and/or license under the terms of CC0-1.0, as
# published by Creative Commons, Inc. A copy of CC0-1.0 can be found in the
# same repository as this README.md file under the filename CC0-1.0.txt. If
# this document has been separated from the repository, a copy of CC0-1.0 can
# be found on Creative Commons' website at:
# http://creativecommons.org/publicdomain/zero/1.0/legalcode).
update_interval 7.0
update_interval_on_battery 20.0
alignment top_left
use_xft yes
xftfont Inconsolata:size=9.5
xftalpha 0.1
double_buffer yes
draw_shades yes
own_window_type desktop
own_window yes
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
text_buffer_size 8000
max_user_text 10000
default_color e1e1e1
color0 555555
color1 FCAF3E
color2 Ivory #FFFFF0
#color2 64574e
color3 Ivory3 #CDCDC1
color4 grey40
color5 Red
color6 Yellow
color7 Green
color8 9d9c61
color9 525276
minimum_size 280 499
maximum_width 520
gap_x 0
gap_y 1
TEXT
${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}
${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}