My conky settings

Screenshot from 2015-05-22 12:30:32

I figure it’s time to share my conky settings on blog as a backup mechanism in the event of my laptop becoming more and more unreliable as time goes by.

Required font and picture: conky

Then config file:

#background yes
use_xft yes
xftfont Ubuntu:size=10
# xftalpha 0.1
update_interval 0.85
# total_run_times 0



own_window yes
own_window_type conky
own_window_transparent no
#background no
own_window_argb_visual yes
own_window_argb_value 170
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
border_inner_margin 0
border_outer_margin 0

# Graphics settings #
draw_shades no
default_shade_color AAAAAA
draw_outline no
default_outline_color AAAAAA
draw_borders no
draw_graph_borders no


double_buffer yes

draw_shades no
draw_outline no
draw_graph_borders no
# Default Color
default_color E0DFDE

# Color Title.
color0 DD3A21

default_shade_color red
default_outline_color green


#gap_x 1610
#gap_y 55

alignment top_right

cpu_avg_samples 2
net_avg_samples 2
override_utf8_locale yes


TEXT

${font Ubuntu:bold:size=10}${color Tan1}${GOTO 60}SYSTEM${color} ${hr 2}
${GOTO 20}${font OpenLogos:size=18}^${font} Kernel:  ${alignr}${kernel}
${GOTO 20}${font StyleBats:size=18}A${font}Core™ i3 M370 @ 2.40GHz${alignr}${cpu cpu0}%
${GOTO 20}core 1:   ${cpubar cpu0 8,120 } ${alignr}${freq_g cpu0} GHz
${GOTO 20}core 2:   ${cpubar cpu1 8,120 } ${alignr}${freq_g cpu1} GHz
${GOTO 20}core 3:   ${cpubar cpu2 8,120 } ${alignr}${freq_g cpu2} GHz
${GOTO 20}core 4:   ${cpubar cpu3 8,120 } ${alignr}${freq_g cpu3} GHz
${GOTO 20}        ${top name 1}${alignr}${top cpu 1}
${GOTO 20}        ${top name 2}${alignr}${top cpu 2}
${GOTO 20}        ${top name 3}${alignr}${top cpu 3}
${GOTO 20}        ${top name 4}${alignr}${top cpu 4}
${GOTO 20}${font StyleBats:size=18}g${font} RAM: $alignc $mem / $memmax $alignr $memperc%
${GOTO 20}${membar}
${GOTO 20}        ${top_mem name 1}${alignr}${top_mem mem_res 1}
${GOTO 20}        ${top_mem name 2}${alignr}${top_mem mem_res 2}
${GOTO 20}        ${top_mem name 3}${alignr}${top_mem mem_res 3}
${GOTO 20}        ${top_mem name 4}${alignr}${top_mem mem_res 4}
${GOTO 20}${font StyleBats:size=18}j${font} SWAP: $alignc $swap/$swapmax  $alignr $swapperc%
${GOTO 20}${swapbar}
${GOTO 20}${font StyleBats:size=18}q${font} Uptime: ${alignr}${uptime}
${GOTO 20}       Average Load:${alignr}$loadavg

${GOTO 20}${font Ubuntu:bold:size=10}${color Tan1}${GOTO 60}TEMPERATURE ${color}${hr 2}
${GOTO 20}Processor  $alignr${texeci 4 sensors | grep 'temp1'|awk '{print $2}'}
${GOTO 20}
${GOTO 20}${font Ubuntu:bold:size=10}${color Tan1}${GOTO 60}HARD DISKS ${color}${hr 2}
${GOTO 20}Disk${GOTO 125}Read${GOTO 180}Write${GOTO 235}Temp
${GOTO 20}Kingston V300${GOTO 125}${diskio_read /dev/sda}${GOTO 180}${diskio_write /dev/sda}${GOTO 235}#${execi 10 sudo hddtemp -q /dev/sda | grep -e "[0-9][0-9]°C" -o}

${GOTO 20}${font}Dir. ${GOTO 65}| ${GOTO 85}Total${GOTO 130}|${GOTO 150}Used${GOTO 200}|${GOTO 220}Free
${GOTO 20}$alignc-------------------------------------------------
${GOTO 20}root${GOTO 70}${fs_size /}${GOTO 115}${fs_bar 6,80 /}${GOTO 205}${fs_free /}
${if_existing /sys/class/net/enp2s0/operstate up}
${GOTO 20}${font Ubuntu:bold:size=10}${color Tan1}${GOTO 60}NETWORK ${color}${hr 2}
${GOTO 20}${font}IP: $alignc${texeci 1800 ~/.conky/scripts/ip.sh} $alignr ${addr enp2s0}
${GOTO 20}${downspeedgraph enp2s0 30,110 202020 008000}${GOTO 160}${upspeedgraph enp2s0 30,110 202020 FF0000}
${GOTO 20}Download: ${downspeed enp2s0}/ s ${GOTO 160}Upload: ${upspeed enp2s0}/ s
${GOTO 20}Total: ${totaldown enp2s0} ${GOTO 160}Total: ${totalup enp2s0}${image ~/.conky/pix/background.png -p 0,0 -s 300x628}${image ~/.conky/pix/wireless.png -p  15,490 -s 36x36}${else}${if_existing /sys/class/net/wlan0/operstate }
${GOTO 20}${font Ubuntu:bold:size=10}${color Tan1}${GOTO 60}NETWORK ${color}${hr 2}
${GOTO 20}${font}IP: $alignc${texeci 1800 ~/.conky/scripts/ip.sh} $alignr ${addr wlan0}
${GOTO 20}${downspeedgraph wlan0 30,110 202020 008000}${GOTO 160}${upspeedgraph wlan0 30,110 202020 FF0000}
${GOTO 20}Download: ${downspeed wlan0}/ s ${GOTO 160}Upload: ${upspeed wlan0}/ s
${GOTO 20}Total: ${totaldown wlan0} ${GOTO 160}Total: ${totalup wlan0}${image ~/.conky/pix/background.png -p 0,0 -s 300x628}${image ~/.conky/pix/wireless.png -p  15,490 -s 36x36}${else}${image ~/.conky/pix/background.png -p 0,0 -s 300x608}${endif}${endif}
${image ~/.conky/pix/units.png -p 15,350 -s 36x36}${image ~/.conky/pix/file-system.png -p 15,390 -s 36x36}