My conky setup initially created with conky-colors. Then heavily modified to suit my needs. Hopefully some will find this useful.
Code:
######################
# - Conky settings - #
######################
update_interval 2
total_run_times 0
net_avg_samples 1
cpu_avg_samples 1
if_up_strictness link
imlib_cache_size 0
double_buffer yes
no_buffers yes
format_human_readable
#####################
# - Text settings - #
#####################
use_xft yes
xftfont Ubuntu:size=11
override_utf8_locale yes
text_buffer_size 2048
#############################
# - Window specifications - #
#############################
own_window_class Conky
own_window yes
own_window_argb_visual yes
own_window_argb_value 0
own_window_type desktop
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
short_units yes
#show_graph_range yes
#show_graph_scale yes
temperature_unit fahrenheit
alignment top_right
gap_x 10
gap_y 10
minimum_size 240 560
maximum_width 240
default_bar_size 60 8
#########################
# - Graphics settings - #
#########################
draw_shades no
default_color cccccc
color0 ffffff
color1 fdff2b
color2 fdff2b
color3 ffffff
TEXT
${font Ubuntu:style=Bold:size=11}SYSTEM $stippled_hr${font}
##############
# - SYSTEM - #
##############
${color0}${font Poky:size=14}S${font}${color}${goto 32}${voffset -8}Kernel: ${alignr}${color2}${kernel}${color}
${goto 32}Uptime: ${alignr}${color2}${uptime}${color}
# |--CPU
${goto 32}CPUTEMP: ${font Ubuntu:style=Bold:size=11}${color1}${execpi 5 sensors -f | grep CPUTIN | awk '{print $2}' | cut -c2-3}°F
${voffset 2}${offset 2}${color0}${font Poky:size=14}P${font}${offset -19}${voffset 9}${offset 1}${cpubar cpu0 4,18}${color}${voffset -16}${goto 32}CPU1: ${font Ubuntu:style=Bold:size=11}${color1}${cpu cpu1}%${font} ${alignr}${font Ubuntu:style=Bold:size=11}${color1}${execi 30 sensors -f | grep 'Core 0' | awk '{print $3}' | sed 's/+//' | sed 's/\.0//g'}${color}${font} ${color2}${cpugraph cpu1 15,125 ff0000 0000ff}${color}
${goto 32}CPU2: ${font Ubuntu:style=Bold:size=11}${color1}${cpu cpu2}%${font} ${alignr}${font Ubuntu:style=Bold:size=11}${color1}${execi 30 sensors -f | grep 'Core 1' | awk '{print $3}' | sed 's/+//' | sed 's/\.0//g'}${color}${font} ${color2}${cpugraph cpu2 15,125 ff0000 0000ff}${color}
${goto 32}CPU3: ${font Ubuntu:style=Bold:size=11}${color1}${cpu cpu3}%${font} ${alignr}${font Ubuntu:style=Bold:size=11}${color1}${execi 30 sensors -f | grep 'Core 2' | awk '{print $3}' | sed 's/+//' | sed 's/\.0//g'}${color}${font} ${color2}${cpugraph cpu3 15,125 ff0000 0000ff}${color}
${goto 32}CPU4: ${font Ubuntu:style=Bold:size=11}${color1}${cpu cpu4}%${font} ${alignr}${font Ubuntu:style=Bold:size=11}${color1}${execi 30 sensors -f | grep 'Core 3' | awk '{print $3}' | sed 's/+//' | sed 's/\.0//g'}${color}${font} ${color2}${cpugraph cpu4 15,125 ff0000 0000ff}${color}
# |--fan
${goto 32}CPUFAN: ${font Ubuntu:style=Bold:size=11}${color1}${execpi 5 sensors | grep fan2 | awk '{print $2}'}RPM
# |--MEM
${voffset 2}${offset 1}${color0}${font Poky:size=14}M${font}${color}${goto 32}${voffset -7}RAM: ${font Ubuntu:style=Bold:size=11}${color1}$memperc%${color}${font}
${voffset 1}${offset 1}${voffset 2}${color0}${membar 4,18}${color}${goto 32}${voffset -2}F: ${font Ubuntu:style=Bold:size=11}${color2}${memeasyfree}${color}${font} U: ${font Ubuntu:style=Bold:size=11}${color2}${mem}${color}${font}
# |--SWAP
${voffset 4}${offset 1}${color0}${font Poky:size=11}s${font}${color}${voffset -4}${goto 32}SWAP: ${font Ubuntu:style=Bold:size=11}${color1}${swapperc}%${color}${font}
${voffset 2}${offset 1}${color0}${swapbar 4,18}${color}${voffset -2}${goto 32}F: ${font Ubuntu:style=Bold:size=11}${color2}$swapmax${color}${font} U: ${font Ubuntu:style=Bold:size=11}${color2}$swap${color}${font}
# |--PROC
${voffset 2}${voffset 1}${color0}${font Poky:size=14}a${font}${color}${goto 32}${voffset -10}Processes: ${color2}${alignr 13}CPU${alignr}RAM${color}
${voffset -1}${goto 42}${color2}${top name 1}${color}${font Ubuntu:style=Bold:size=11}${color1} ${alignr 13}${top cpu 1}${alignr }${top mem 1}${color}${font}
${voffset -1}${goto 42}${color2}${top name 2}${color}${font Ubuntu:style=Bold:size=11}${color1} ${alignr 13}${top cpu 2}${alignr }${top mem 2}${color}${font}
${voffset -1}${goto 42}${color2}${top name 3}${color}${font Ubuntu:style=Bold:size=11}${color1} ${alignr 13}${top cpu 3}${alignr }${top mem 3}${color}${font}
${voffset -1}${goto 42}${color2}${top name 4}${color}${font Ubuntu:style=Bold:size=11}${color1} ${alignr 13}${top cpu 4}${alignr }${top mem 4}${color}${font}
#############
# - CLOCK - #
#############
${font Digital Readout Thick Upright:size=40}${goto 22}${color2}${time %k}${voffset -9}:${voffset 9}${time %M}${goto 130}${color2}${voffset -14}${font Digital Readout Thick Upright:size=24}${goto 130}${color2}${time %d}${font Digital Readout Thick Upright:size=11}${voffset 14}${goto 130}${color2}${time %m}${goto 144}${color2}${time %y}${font}
################
# - CALENDAR - #
################
${voffset 4}${color cccccc}${font Ubuntu:style=Bold:size=11}DATE $stippled_hr${font}
${voffset -2}${color0}${font Poky:size=16}D${font}${voffset -8}${font Ubuntu:style=Bold:size=7}${offset -17}${voffset 4}${time %d}${font}${color}${voffset -1}${font Monospace:size=7}${execpi 300 DJS=`date +%_d`; cal -h |sed '2,8!d'| sed '/./!d' | sed 's/^/${goto 42} /'| sed 's/$/ /' | sed 's/^/ /' | sed /" $DJS "/s/" $DJS "/" "'${font Arial:style=Bold:size=11}${voffset -2}${offset -4}${color1} '"$DJS"'${color}${font Monospace:size=7}'" "/}${voffset -1}
${voffset -22}
##############
# - NVIDIA - #
##############
${voffset 4}${font Ubuntu:style=Bold:size=11}NVIDIA $stippled_hr${font}
${color0}${voffset -4}${font Poky:size=17}N${font}${color}${goto 32}${voffset -8}GPU Temp:${alignr}${font Ubuntu:style=Bold:size=11}${color1} ${execi 10 nvidia-settings -q GPUCoreTemp | awk '{if (NR==2) {print ($4*9)/5+32}}'}°F ${color1}${font}
${goto 32}${color}GPU Clock:${alignr}${font Ubuntu:style=Bold:size=11}${color1} ${exec nvidia-settings -q GPU2DClockFreqs -t}${font}${color}MHz
${goto 32}Video RAM:${alignr}${font Ubuntu:style=Bold:size=11}${color1} ${exec nvidia-settings -q VideoRam -t}${font}${color}KiB
${goto 32}Driver Version:${alignr}${font Ubuntu:style=Bold:size=11}${color1} ${exec nvidia-settings -q NvidiaDriverVersion -t}${font}${color}
##########
# - HD - #
##########
${voffset 4}${font Ubuntu:style=Bold:size=11}HD $stippled_hr${font}
# |--HDTEMP1
${voffset 4}${color}${font Weather:size=15}y${font}${color}${voffset -8}${goto 32}/dev/sda: ${font Ubuntu:style=Bold:size=11}${color1}${execi 120 hddtemp /dev/sda -n --unit=F}°F${color}${font}
# |--HDTEMP2
${goto 32}/dev/sdb: ${font Ubuntu:style=Bold:size=11}${color1}${execi 120 hddtemp /dev/sdb -n --unit=F}°F${color}${font}
${execpi 30 /usr/share/conkycolors/bin/conkyHD1}
###############
# - NETWORK - #
###############
${voffset -4}${font Ubuntu:style=Bold:size=11}NETWORK $stippled_hr${font}
# |--WLAN0
${if_up wlan0}
${voffset -5}${color0}${font Webdings:size=17}”${font}${color}${goto 32}${voffset -5}Up: ${font Ubuntu:style=Bold:size=11}${color1}${upspeed wlan0}${color}${font} ${alignr}${color2}${upspeedgraph wlan0 8,60 ff0000 0000ff}${color}
${goto 32}Total: ${font Ubuntu:style=Bold:size=11}${color2}${totalup wlan0}${color}${font}
${voffset 2}${color0}${font Webdings:size=17}“${font}${color}${goto 32}${voffset -5}Down: ${font Ubuntu:style=Bold:size=11}${color1}${downspeed wlan0}${color}${font} ${alignr}${color2}${downspeedgraph wlan0 8,60 ff0000 0000ff}${color}
${goto 32}Total: ${font Ubuntu:style=Bold:size=11}${color2}${totaldown wlan0}${color}${font}
${voffset 2}${color0}${font Poky:size=14}Y${font}${color}${goto 32}${voffset -2}Signal: ${font Ubuntu:style=Bold:size=11}${color1}${wireless_link_qual_perc wlan0}%${color}${font} ${alignr}${color2}${wireless_link_bar 8,60 wlan0}${color}
${voffset 2}${color0}${font Webdings:size=16}¬${font}${color}${goto 32}${voffset -8}Local IP: ${alignr}${color2}${addr wlan0}${color}
${goto 32}Public IP: ${alignr}${color2}${execi 10800 /usr/share/conkycolors/bin/conkyIp}${color}
# |--ETH0
${else}${if_up eth0}
${voffset -5}${color0}${font Webdings:size=17}”${font}${color}${goto 32}${voffset -5}Up: ${font Ubuntu:style=Bold:size=11}${color1}${upspeed eth0}${color}${font}
${goto 32}Total: ${font Ubuntu:style=Bold:size=11}${color2}${totalup eth0}${color}${font}
${alignr}${color2}${upspeedgraph eth0 50,220 ff0000 0000ff}${color}
${voffset 2}${color0}${font Webdings:size=17}“${font}${color}${goto 32}${voffset -5}Down: ${font Ubuntu:style=Bold:size=11}${color1}${downspeed eth0}${color}${font}
${goto 32}Total: ${font Ubuntu:style=Bold:size=11}${color2}${totaldown eth0}${color}${font}
${alignr}${color2}${downspeedgraph eth0 50,220 ff0000 0000ff}${color}
${voffset 2}${color0}${font Webdings:size=16}¬${font}${color}${goto 32}${voffset -4}Local IP: ${alignr}${color2}${addr eth0}${color}
#${goto 32}Public IP: ${alignr}${color2}${execi 10800 /usr/share/conkycolors/bin/conkyIp}${color}
# |--PPP0
${else}${if_up ppp0}
${voffset -5}${color0}${font Webdings:size=17}”${font}${color}${goto 32}${voffset -5}Up: ${font Ubuntu:style=Bold:size=11}${color1}${upspeed ppp0}${color}${font} ${alignr}${color2}${upspeedgraph ppp0 8,60 ff0000 0000ff}${color}
${goto 32}Total: ${font Ubuntu:style=Bold:size=11}${color2}${totalup ppp0}${color}${font}
${voffset 2}${color0}${font Webdings:size=17}“${font}${color}${goto 32}${voffset -5}Down: ${font Ubuntu:style=Bold:size=11}${color1}${downspeed ppp0}${color}${font} ${alignr}${color2}${downspeedgraph ppp0 8,60 ff0000 0000ff}${color}
${goto 32}Total: ${font Ubuntu:style=Bold:size=11}${color2}${totaldown ppp0}${color}${font}
${voffset 2}${color0}${font Webdings:size=16}¬${font}${color}${goto 32}${voffset -4}Local IP: ${alignr}${color2}${addr ppp0}${color}
${else}${voffset 4}${offset 4}${color0}${font Wingdings:size=20}N${font}${color}${voffset -6}${goto 32}Network Unavailable${voffset 14}${endif}${endif}${endif}
Bookmarks