Skip to content

Instantly share code, notes, and snippets.

@Eboreg
Created October 13, 2020 01:24
Show Gist options
  • Save Eboreg/5358991b5c615e141b84505464bca13f to your computer and use it in GitHub Desktop.
Save Eboreg/5358991b5c615e141b84505464bca13f to your computer and use it in GitHub Desktop.
My conky conf
--[[
http://conky.sourceforge.net/docs.html
http://conky.sourceforge.net/variables.html
https://linuxconfig.org/ubuntu-20-04-system-monitoring-with-conky-widgets
]]
conky.config={
alignment='top_right',
background=true,
color1='A9A9A9',
color2='616161',
color3='313131',
cpu_avg_samples=4,
default_color='FFFFFF',
default_outline_color='black',
default_shade_color='333333',
double_buffer=true,
draw_borders=false,
draw_graph_borders=false,
draw_outline=false,
draw_shades=false,
font='Ubuntu:style=medium:size=9',
gap_x=56,
gap_y=0,
maximum_width=300,
minimum_height=10,
minimum_width=300,
net_avg_samples=2,
no_buffers=true,
override_utf8_locale=true,
own_window_argb_value=0,
own_window_argb_visual=true,
own_window_colour='000000',
own_window_hints='undecorated,below,sticky,skip_taskbar,skip_pager',
own_window_transparent=true,
own_window_type='desktop',
own_window=true,
text_buffer_size=2048,
total_run_times=0,
update_interval=3,
uppercase=false,
use_xft=true,
xftalpha=.1,
}
conky.text=[[
${color1}
${font Font Awesome 5 Free:style=Solid:size=10}${font}${goto 30}CPU${alignr}${cpu cpu0}% / ${hwmon 4 temp 2}° / ${hwmon 4 temp 4}°
${color2}${cpugraph cpu0 50,299 5e7b7b d8deeb -t}
${color3}${hr}
${color1}${font Font Awesome 5 Free:style=Solid:size=10}${font}${goto 30}Disk${alignr}${fs_free} free / ${fs_size}
${color2}${diskiograph_read 50,145}${alignr}${diskiograph_write 50,145}
${color3}${hr}
${color1}${font Font Awesome 5 Free:style=Solid:size=10}${font}${goto 30}Network
${font Font Awesome 5 Free:style=Solid:size=10}${font}${goto 30}${if_match "${addr enp0s25}"!="No Address"}${addr enp0s25}${endif}${if_match "${addr wlp3s0}"!="No Address"}${addr wlp3s0}${endif}${alignr}${font Font Awesome 5 Free:style=Solid:size=10} ${font} ${execi 3600 curl ipinfo.io/ip}
${if_match "${addr enp0s25}"!="No Address"}${color1}${font Font Awesome 5 Free:style=Solid:size=10}${font}${goto 30}${downspeedf enp0s25}k/s (${totaldown enp0s25})${alignr}${font Font Awesome 5 Free:style=Solid:size=10} ${font} ${upspeedf enp0s25}k/s (${totalup enp0s25})${endif}
${if_match "${addr wlp3s0}"!="No Address"}${color1}${font Font Awesome 5 Free:style=Solid:size=10}${font}${goto 30}${downspeedf wlp3s0}k/s (${totaldown wlp3s0})${alignr}${font Font Awesome 5 Free:style=Solid:size=10} ${font} ${upspeedf wlp3s0}k/s (${totalup wlp3s0})${endif}
${color3}${hr}
${color1}${font Font Awesome 5 Free:style=Solid:size=10}${font}${goto 30}System
${font Font Awesome 5 Free:style=Solid:size=10}${font}${goto 30}${hwmon 3 temp 1}°${goto 100}${font Font Awesome 5 Free:style=Solid:size=10} ${font} ${hwmon 3 fan 1} rpm${alignr}${font Font Awesome 5 Free:style=Solid:size=10} ${font} ${uptime}
${font DejaVu Sans Mono:size=8}
${color1}Process${alignr}%CPU %MEM${color2}
${top name 1}${alignr}${top cpu 1} ${top mem 1}
${top name 2}${alignr}${top cpu 2} ${top mem 2}
${top name 3}${alignr}${top cpu 3} ${top mem 3}
${top name 4}${alignr}${top cpu 4} ${top mem 4}
${top name 5}${alignr}${top cpu 5} ${top mem 5}
${top name 6}${alignr}${top cpu 6} ${top mem 6}
${top name 7}${alignr}${top cpu 7} ${top mem 7}
${top name 7}${alignr}${top cpu 8} ${top mem 8}
]]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment