Simple and clean:
conky.jpg
A couple of things in here that will obviously be different for others, such as getting the GPU information and a script I wrote to correct the AMD CPU temperature.
Code:
####
# Conky config file
####
####
# general startup settings
####
background yes
update_interval 1.0
text_buffer_size 1024
total_run_times 0
alignment top_right
gap_x 35
gap_y 45
minimum_size 250 850
maximum_width 250
####
# Some window setup
####
own_window_class Conky
own_window yes
own_window_type normal
own_window_argb_visual yes
own_window_transparent no
own_window_argb_value 0
own_window_hints below,skip_pager,skip_taskbar,undecorated,sticky
background yes
####
# font defaults:
####
use_xft yes
xftfont Liberation Mono:italic:size=10
xftalpha 0.9
override_utf8_locale yes
####
# images, buffering, shading
####
imlib_cache_size 60
double_buffer yes
draw_shades no
####
# misc text formatting
####
short_units yes
pad_percents 2
border_inner_margin 0
uppercase no
use_spacer right
####
# outlines and borders
####
draw_outline no
draw_borders no
draw_graph_borders no
border_width 0
color3 54FFFF
####
# stdout/console printing
####
out_to_ncurses no
out_to_console no
####
## process settings
####
top_name_width 4
####
# sampling
####
cpu_avg_samples 2
net_avg_samples 2
####
# hddtemp IP and port
####
#INTERFACE="127.0.0.1"
#PORT="7634"
#### end config
####
# draw the nice background with radiused corners
####
#commented out since it's on very dark background at the moment
#lua_load /home/noyb/.conky/draw_bg.lua
#lua_draw_hook_pre conky_draw_bg
####
## everything below 'TEXT' is drawn on screen
####
TEXT
####
# Headers
####
${voffset 0}${goto 25}${color3}${font Liberation Mono:italic:size=28}${pre_exec}${nodename}
${voffset -18}${goto 25}${color3}${font Liberation Mono:italic:size=10}${pre_exec}${kernel}
#${voffset 2}${goto 25}${color3}${font Liberation Mono:italic:size=10}${goto 85}${time %D}${alignr 30}${time %H:%M:%S}
${voffset 0}${goto 25}${color3}${font Liberation Mono:italic:size=10}${pre_exec}Up ${font Liberation Mono:italic:size=10}${uptime}
####
# Date and Time
####
${voffset 10}${goto 25}${color3}${font Liberation Mono:italic:size=10}${time %A}
${voffset 0}${goto 25}${color3}${font Liberation Mono:italic:size=10}${time %B %d, %G}
${voffset 0}${goto 25}${color3}${font Liberation Mono:italic:size=20}${time %H:%M:%S}
####
# Core loads
####
${voffset 10}${goto 25}${color3}${font Liberation Mono:italic:size=11}${pre_exec}CPU - ${pre_exec}${execi 1000 cat /proc/cpuinfo | grep 'model name' | cut -c 14-28 | uniq}
${voffset 0}${goto 35}${color3}${font Liberation Mono:italic:size=10}${pre_exec}CPU${alignr 40}${cpu perc}%${alignr 30}${color3}${cpugraph cpu0 15,80}
${voffset 0}${goto 35}${color3}${font Liberation Mono:italic:size=10}${pre_exec}Core 1${alignr 40}${cpu cpu1 perc}%${alignr 30}${color yellow}${cpugraph cpu1 15,80}
${voffset 0}${goto 35}${color3}${font Liberation Mono:italic:size=10}${pre_exec}Core 2${alignr 40}${cpu cpu2 perc}%${alignr 30}${color3}${cpugraph cpu2 15,80}
${voffset 0}${goto 35}${color3}${font Liberation Mono:italic:size=10}${pre_exec}Core 3${alignr 40}${cpu cpu3 perc}%${alignr 30}${color yellow}${cpugraph cpu3 15,80}
${voffset 0}${goto 35}${color3}${font Liberation Mono:italic:size=10}${pre_exec}Core 4${alignr 40}${cpu cpu4 perc}%${alignr 30}${color3}${cpugraph cpu4 15,80}
${voffset 0}${goto 35}${color3}${font Liberation Mono:italic:size=10}${pre_exec}Core 5${alignr 40}${cpu cpu5 perc}%${alignr 30}${color yellow}${cpugraph cpu5 15,80}
${voffset 0}${goto 35}${color3}${font Liberation Mono:italic:size=10}${pre_exec}Core 6${alignr 40}${cpu cpu6 perc}%${alignr 30}${color3}${cpugraph cpu6 15,80}
${voffset 0}${goto 35}${color3}${font Liberation Mono:italic:size=10}${pre_exec}Core 7${alignr 40}${cpu cpu7 perc}%${alignr 30}${color yellow}${cpugraph cpu7 15,80}
${voffset 0}${goto 35}${color3}${font Liberation Mono:italic:size=10}${pre_exec}Core 8${alignr 40}${cpu cpu8 perc}%${alignr 30}${color3}${cpugraph cpu8 15,80}
${voffset 5}${goto 35}${color3}${font Liberation Mono:italic:size=10}${pre_exec}CPU Watts${alignr 40}${execi 1 sensors fam15h_power-pci-00c4 | grep 'power1' | awk '{print $2}' | cut -c1-6}W
####
# Memory
####
${voffset 15}${goto 25}${color3}${font Liberation Mono:italic:size=11}${pre_exec}MEMORY
${voffset 0}${goto 35}${color3}${font Liberation Mono:italic:size=10}${mem}${alignr 40}${memperc}%${alignr 30}${memgraph 15,60}
####
# GPU loads
####
${voffset 15}${goto 25}${color3}${font Liberation Mono:italic:size=11}${pre_exec}GPU - ${pre_exec}${execi 1000 lspci | grep VGA | cut -c 86-99}
${voffset 0}${goto 35}${color3}${font Liberation Mono:italic:size=10}${pre_exec}Load${goto 85}${pre_exec}Temp${goto 150}${pre_exec}Fan speed
${voffset 0}${goto 35}${color3}${font Liberation Mono:italic:size=10}${execi 1 aticonfig --odgc --odgt --adapter=0 | egrep -i "load|temperature" | xargs echo | awk '{print $4 " " $9 "°C "}'}${alignr 30}${execi 1 amdconfig --pplib-cmd "get fanspeed 0" | grep -i result | awk '{print $4}'}
####
## Temperatures
####
${voffset 15}${goto 25}${color3}${font Liberation Mono:italic:size=11}${pre_exec}TEMPERATURES
${voffset 0}${goto 35}${color3}${font Liberation Mono:italic:size=10}${pre_exec}CPU${alignr 20}${execi 1 /home/noyb/.conky/temp_correct.sh}${pre_exec}°C (Corrected)
${voffset 0}${goto 35}${color3}${font Liberation Mono:italic:size=10}${alignr 20}${execi 1 sensors k10temp-pci-00c3 | grep 'temp1' | awk -F'.' '{print $1}'| awk -F'+' '{print $2}'}${pre_exec}°C (k10temp)
${voffset 0}${goto 35}${color3}${font Liberation Mono:italic:size=10}${pre_exec}SB${goto 80}${execi 1 sensors it8728-isa-0228 | grep 'temp2' | awk '{print $2}' | cut -c2-3}°C
${voffset 0}${goto 35}${color3}${font Liberation Mono:italic:size=10}${pre_exec}VRM${goto 80}${execi 1 sensors it8728-isa-0228 | grep 'temp1' | awk '{print $2}' | cut -c2-3}°C
####
# Fans
####
${voffset 10}${goto 25}${color3}${font Liberation Mono:italic:size=11}${pre_exec}FANS
${voffset 0}${goto 35}${color3}${font Liberation Mono:italic:size=10}${pre_exec}CPU${goto 95}${execi 1 sensors it8728-isa-0228 | grep 'fan1' | awk '{print $2}' | cut -c1-4}rpm
####
# Ethernet
####
${voffset 15}${goto 25}${color3}${font Liberation Mono:italic:size=11}${pre_exec}ETHERNET
${voffset 0}${goto 35}${color3}${font Liberation Mono:italic:size=10}${pre_exec}Down ${alignr 70}${downspeed eth1}${goto 140}${pre_exec}Up${alignr 30}${upspeed eth1}
${voffset 0}${goto 35}${color3}${downspeedgraph eth1 20,80 000000 00FF00}${goto 140}${upspeedgraph eth1 20,80 000000 FFFF00}
#${voffset 0}${color}Up: ${color3}${font Liberation Mono:italic:size=10}${upspeed eth0}
#${voffset 0}${upspeedgraph eth1 20,130 000000 ffffff}
####
# Top
####
${voffset 10}${goto 25}${color3}${font Liberation Mono:italic:size=11}${pre_exec}TOP PROCESSES
${voffset 0}${goto 35}${color3}${font Liberation Mono:italic:size=10}${pre_exec}CPU${goto 135}${pre_exec}MEM
${voffset 0}${goto 35}${color3}${font Liberation Mono:italic:size=10}${top name 1}${goto 75}${top cpu 1}${goto 135}${top_mem name 1}${alignr 30}${top_mem mem 1}
${voffset 0}${goto 35}${color3}${font Liberation Mono:italic:size=10}${top name 2}${goto 75}${top cpu 2}${goto 135}${top_mem name 2}${alignr 30}${top_mem mem 2}
${voffset 0}${goto 35}${color3}${font Liberation Mono:italic:size=10}${top name 3}${goto 75}${top cpu 3}${goto 135}${top_mem name 3}${alignr 30}${top_mem mem 3}
${voffset 0}${goto 35}${color3}${font Liberation Mono:italic:size=10}${top name 4}${goto 75}${top cpu 4}${goto 135}${top_mem name 4}${alignr 30}${top_mem mem 4}
${voffset 0}${goto 35}${color3}${font Liberation Mono:italic:size=10}${top name 5}${goto 75}${top cpu 5}${goto 135}${top_mem name 5}${alignr 30}${top_mem mem 5}
####
# Disk Activity
####
${voffset 15}${goto 25}${color3}${font Liberation Mono:italic:size=11}${pre_exec}DISK ACTIVITY
${voffset 0}${goto 65}${color3}${font Liberation Mono:italic:size=10}${pre_exec}READ${goto 150}${pre_exec}WRITE
${voffset 10}${goto 35}${color3}${font Liberation Mono:italic:size=10}${pre_exec}sda
${voffset -20}${goto 65}${color3}${font Liberation Mono:italic:size=10}${diskiograph_read /dev/sda 20,70 000000 00FF00}${goto 150}${diskiograph_write /dev/sda 20,70 000000 FFFF00}
${voffset 10}${goto 35}${color3}${font Liberation Mono:italic:size=10}${pre_exec}sdb
${voffset -20}${goto 65}${color3}${font Liberation Mono:italic:size=10}${diskiograph_read /dev/sdb 20,70 000000 00FF00}${goto 150}${diskiograph_write /dev/sdb 20,70 000000 FFFF00}
Bookmarks