# Conky settings #
background no
update_interval 1

cpu_avg_samples 2
net_avg_samples 2

override_utf8_locale yes

double_buffer yes
no_buffers yes

text_buffer_size 2048
#imlib_cache_size 0

temperature_unit fahrenheit

# Window specifications #

own_window yes
own_window_type override
own_window_transparent yes
own_window_hints undecorate,sticky,skip_taskbar,skip_pager,below

border_inner_margin 0
border_outer_margin 0

minimum_size 220 250
maximum_width 220

alignment tr
gap_x 10
gap_y 10

# Graphics settings #
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no

# Text settings #
use_xft yes
xftfont sans:size=8
xftalpha 0.5

uppercase no

temperature_unit celsius


default_color FFFFFF

# Lua Load  #
lua_load ~/.conky/scripts/clock_rings.lua
lua_draw_hook_pre clock_rings

TEXT
${image ~/.conky/slideshow.png -p 0,0 -s 220x175}${image ~/.conky/clock.png -p 80,166 -s 150x150}${image ~/.conky/ring.png -p 3,264 -s 191x290}${image ~/.conky/calendar.png -p 5,176 -s 95x105}${image ~/.conky/temperature.png -p 0,550 -s 220x150}
${exec cd ~/Pictures/slideshow; /usr/bin/convert -format png -resize 200x140 "`/bin/ls *.png *.jpg 2>/dev/null | /usr/bin/shuf -n1`" /dev/shm/current.png}${image /dev/shm/current.png -p 15,15 -n}${voffset 100}
${voffset 89}${goto 31}${color 000000}${font sans:size=23}${time %e}
${font}${voffset -75}${color FFFFFF}${goto 19}${font sans:size=10}${time %b}${font}${voffset 47}${goto 63}${color 000000}${font sans:size=6}${time %Y}${font}

${color FFFFFF}${voffset -10}${font sans:size=6}
${goto 41}${voffset 39}${cpu cpu0}%
${goto 58}${voffset 39}${mem}
${goto 93}${voffset 39}${swapperc}%
${goto 116}${voffset 41}${fs_used_perc /home}%
${goto 120}${voffset 37}${downspeed ppp0}
${goto 125}${upspeed ppp0}


${font sans:size=7}
${voffset 25}${goto 29}${color FF6600}${execi 10 sensors | grep "Core 0" | cut -d "+" -f2 | cut -c1-6}C${goto 93}${execi 10 sensors | grep "Core 1" | cut -d "+" -f2 | cut -c1-6}C${goto 158}${hddtemp /dev/sda}°C
${font sans:size=8}
${color FFFFFF}${voffset 3}${goto 32}Name${goto 120}${color FF6600}CPU${color}${goto 157}RAM
${font sans:size=6}${voffset 0}${goto 32}${top_mem name 1}${goto 115}${color FF6600}${top_mem cpu 1}${color}${goto 155}${top_mem mem 1}
${goto 32}${top_mem name 2}${goto 115}${color FF6600}${top_mem cpu 2}${color}${goto 155}${top_mem mem 2}
${goto 32}${top_mem name 3}${goto 115}${color FF6600}${top_mem cpu 3}${color}${goto 155}${top_mem mem 3}
${goto 32}${voffset 3}${scroll 52${color FFFFFF}${font sans:size=7}Uptime: ${uptime_short}
