Conky Showcase 2022

This thread is the continuation of the Conky Showcase 2021 and the same rules apply:

Share your conky thread

Share what ever you use for conky - just remember - credit where credit is due.

Basic guidelines

If your conky script is based on another conky - your header should use something like this

conky.config = {
-- original author https://github.com/altinukshini/conky_blue
-- modified by linux-aarhus
...

When you post large amounts of code

  1. Use code fence - select your code and click the </> in the post toolbar
  2. Use the details tag - select your fenced code and click :gear: โ†’ Hide details

Below screenshot credit @linux-aarhus :

2 Likes

My Gotham Conky mod, edited color and added distro name and logo icon. Icon below screenshot in case you want it for your conky.

Edit: Changed color of distro name and position of logo in conky.

Source
use_xft yes
xftfont 123:size=8
xftalpha 0.1
update_interval 1
total_run_times 0

own_window yes
own_window_type desktop
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_colour 000000
own_window_argb_visual yes
own_window_argb_value 0

double_buffer yes
#minimum_size 250 5
#maximum_width 500
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no
default_color white
default_shade_color red
default_outline_color green
alignment top_right
gap_x -80
gap_y 10
no_buffers yes
uppercase no
cpu_avg_samples 2
net_avg_samples 1
override_utf8_locale yes
use_spacer yes


minimum_size 0 0
TEXT
${voffset 10}${color EAEAEA}${font GE Inspira:pixelsize=120}${time %I:%M}${font}${voffset -84}${offset 10}${color 039F4A}${font GE Inspira:pixelsize=42}${time %d} ${voffset -15}${color EAEAEA}${font GE Inspira:pixelsize=22}${time  %B} ${time %Y}${font}${voffset 24}${font GE Inspira:pixelsize=58}${offset -148}${time %A}${font}
${voffset 1}${offset 12}${font Ubuntu:pixelsize=12}${color 039F4A}HD ${offset 9}$color${fs_free /} / ${fs_size /}${offset 30}${color 039F4A}RAM ${offset 9}$color$mem / $memmax${offset 30}${color 039F4A}CPU ${offset 9}$color${cpu cpu0}%

${voffset 1}${offset 150}${font GE Inspira:pixelsize=32}${color EAEAEA}Manjaro Linux${alignc}
${image /home/marcs/Pictures/Icons/manjaro-icon.png -p 95,148 -s 56x56}${alignc}


manjaro-icon

8 Likes

Minimalist

4 Likes

Another minimum conky. :grinning:

Edit: Changed Font

Changed up this conky: Elegance-beam conky variant

Note: If you want to make the conky background semi-transparent change the below settings to:

From: own_window_transparent = true, To: own_window_transparent = false,

Then adjust the below value to the desired transparency level for your wallpaper.

Adj: own_window_argb_value = 80,

Summary
conky.config = {
	alignment = 'top_right',
	background = false,
	border_inner_margin = 15,
	border_width = 5,
	default_color = 'ffffff',  --ffffff # grey 5f5f5f 3F3F3F 183149 3B3B3B 26211F
	double_buffer = true,
	draw_borders = false,
	draw_graph_borders = false,
	draw_outline = false,
	draw_shades = false,
	gap_x = 25,
	gap_y = 25,
	maximum_width = 370,
	double_buffer = true,
	override_utf8_locale = true,
    own_window = true,
    own_window_class = 'Conky',
    own_window_type = 'normal',
	own_window_transparent = true,
	own_window_hints = 'undecorated,below,skip_taskbar,skip_pager,sticky',
	own_window_argb_visual = true,
	own_window_argb_value = 150,
	text_buffer_size = 8000,
	total_run_times = 0,
	update_interval = 1,
	uppercase = false,
	use_xft = true,
	xftalpha = 1,
	short_units = false,
	font = 'GE Inspira:style=Light:pixelsize=16',
	color1 = '00C75C',
	color2 = '005929',
	color3 = '005929',
};

conky.text = [[
${font GE Inspira:pixelsize=150}${alignr}${color1}${time %H}
${voffset -35}${alignr}${color2}${time %M}
${voffset -90}${color3}${font GE Inspira:pixelsize=25}${alignr}${time %A}  |  ${alignr}${time %B %d, %Y}${color}${font}

${color6}${font GE Inspira:size=14}RESOURCES ${hr}$font
cpu1 ${alignr}${cpu cpu1}%
cpu2 ${alignr}${cpu cpu2}%
cpu3 ${alignr}${cpu cpu3}%
cpu4 ${alignr}${cpu cpu4}%
cpu5 ${alignr}${cpu cpu5}%
cpu6 ${alignr}${cpu cpu6}%
cpu7 ${alignr}${cpu cpu7}%
cpu8 ${alignr}${cpu cpu8}%
ram ${alignr}${mem} / ${memmax}
system  ${alignr}${fs_used_perc /}% / ${fs_size /}
${voffset 30}${font Raleway:pixelsize=18}${alignr}${color3}Manjaro Linux${color}
${image /home/marcs/Pictures/Icons/manjaro-icon.png -p 110,617 -s 56x56}${alignr}
]];
3 Likes

Conky is beautiful in the desktop view. But if you open any maximized size window on the desktop, you wonโ€™t see the Conky, also do not see CPU/Memory monitoring โ€ฆ
I would put Conky/widget in the panel that always shows.

1 Like

Thank you, I thought about that but did not like how it looked with the border. But it is easy enough for someone to change should they want to use this conky.

2 Likes

New Conky Mod! :slight_smile:

Original Conky: QNRB

Note: You will notice some of the items not working, this is due to conky not being able to pull the info as I am running Manjaro in a VM.

Summary
conky.config = {
  console_bar_fill   = 'ยป',
  console_bar_unfill = ' ',
  alignment = 'top_left',
  background = false,
  border_width = 2,
  cpu_avg_samples = 2,
  -- define Manjaro colours:
  default_color = '#00C75C',  -- Ubuntu Orange
  color1 = '#709080',         -- Kakhi
  color2 = '#b4b4b4',         -- Light Grey
  color3 = '#00EE6E',         -- Light Green
  color4 = '#005929',         -- White
  color5 = '#00C75C',         -- Black
  color6 = '#ffffff',         -- Light aubergine
  font = 'GE Inspira:size=11',
  default_outline_color = '#1abc9c',  -- Same HTML as current terminal
  default_shade_color = '#1abc9c',  -- Same HTML as current terminal
  double_buffer = true,
  draw_borders = false,
  draw_graph_borders = true,
  draw_outline = false,
  draw_shades = false,
  extra_newline = false,
  format_human_readable=true,
  gap_x = 20,
  gap_y = 40,
  minimum_height = 300,
  minimum_width = 300,
  net_avg_samples = 2,
  no_buffers = true,
  out_to_console = false,
  out_to_ncurses = false,
  out_to_stderr = false,
  out_to_x = true,
  own_window = true,
  own_window_class = 'conky',
  own_window_type = 'desktop',
  own_window_transparent = false,
  -- set transparency:
  own_window_argb_visual = true,
  own_window_argb_value = 140,
  show_graph_range = false,
  show_graph_scale = false,
  stippled_borders = 0,
  update_interval = 1.0,
  uppercase = false,
  use_spacer = 'none',
  use_xft = true,
};

conky.text = [[
${image /home/marcs/Pictures/Icons/manjaro-icon.png -p 50,28 -s 43x43}${alignc}

${color6}${font :size=18}${alignc}    Manjaro Linux
${color6}${hr}$font
${color5}ARCH:${color}${alignr}$machine
${color5}UPTIME:${color}${alignr}$uptime_short
${color5}KERNEL:${color}${alignr}$kernel
${color6}${font :size=12}CPU & CORES ${hr}$font
${color5}CPU:${color}${alignr}AMD Ryzen 7 3800X
${color6} 01 - 04:${color4}${goto 100}${cpu cpu1}% ${goto 150}${cpu cpu2 }% ${goto 200}${cpu cpu3 }% ${goto 250}${cpu cpu4 }%
${color6} 05 - 08:${color4}${goto 100}${cpu cpu5}% ${goto 150}${cpu cpu6 }% ${goto 200}${cpu cpu7 }% ${goto 250}${cpu cpu8 }%
${color5}CPU Load: ${color4}$cpu% ${color3}$cpubar
${voffset -5}${color1}${cpugraph cpu0 -l -t}${voffset -5}
${color5}CPU Freq: ${color4}$freq_g GHz ${alignr}${color5}CPU Temp: ${color4}${acpitemp}ยฐC
${color6}${font :size=12}MEMORY ${hr}$font
${color5}RAM: ${color4}$mem ${color}/ $memmax ${color4}($memperc%) ${color3}$membar
${color6}${font :size=12}GPU ${hr}$font
${color5}GPU:${color}${alignr}NVIDIA GeForce RTX 3060
${color5}GPU Temp: ${color4}$alignr ${nvidia temp} ยฐC
${color5}GPU Speed: $alignr${color4}${nvidia gpufreq} Mhz
${color5}MEM Speed: $alignr${color4}${nvidia memfreq} Mhz
${color6}${font :size=12}NETWORK ${hr}$font
${color5}IP ADDRESS:${color}${alignr}${addr ens33}
${voffset -5}${if_match "${addr ens33}"!="No Address"}${color1}${downspeedgraph ens33 24,159 00EE6E 00CD5F -l -t} ${color2}${upspeedgraph ens33 24,159 00EE6E 00CD5F -l -t}
${voffset -5}${color5}Download: ${color4}${downspeedf ens33}k/s ${alignr}${color5}Upload: ${color4}${upspeedf ens33}k/s ${font}${endif}
${color6}${font :size=12}FILE SYSTEMS ${hr}$font
${color5}Mountpoints${goto 100}Free / Total${alignr}I/O
${color5}Mount: / ${goto 100}${color4}${fs_free /} ${color}/ ${fs_size /} ${alignr}${color4}${diskio}
${color6}${font :size=12}PROCESSES ${hr}$font
${color5}TOTAL${color4}${alignr}${processes}
${color5}Name ${goto 149}PID${goto 215}MEM${goto 280}CPU
${color6}${top name 1}${color4}${font}${goto 130}${top pid 1}${goto 200}${top mem 1}%${goto 265}${top cpu 1}%
${color6}${top name 2}${color4}${font}${goto 130}${top pid 2}${font}${goto 200}${top mem 2}%${goto 265}${top cpu 2}%
${color6}${top name 3}${color4}${font}${goto 130}${top pid 3}${font}${goto 200}${top mem 3}%${goto 265}${top cpu 3}%
${color6}${top name 4}${color4}${font}${goto 130}${top pid 4}${font}${goto 200}${top mem 4}%${goto 265}${top cpu 4}%
${color6}${top name 5}${color4}${font}${goto 130}${top pid 5}${font}${goto 200}${top mem 5}%${goto 265}${top cpu 5}%
${color6}${top name 6}${color4}${font}${goto 130}${top pid 6}${font}${goto 200}${top mem 6}%${goto 265}${top cpu 6}%
${color6}${top name 7}${color4}${font}${goto 130}${top pid 7}${font}${goto 200}${top mem 7}%${goto 265}${top cpu 7}%
${color6}${top name 8}${color4}${font}${goto 130}${top pid 8}${font}${goto 200}${top mem 8}%${goto 265}${top cpu 8}%
${color6}${top name 9}${color4}${font}${goto 130}${top pid 9}${font}${goto 200}${top mem 9}%${goto 265}${top cpu 9}%
${color6}${top name 10}${color4}${font}${goto 130}${top pid 10}${font}${goto 200}${top mem 10}%${goto 265}${top cpu 10}%${voffset -20}

]]
4 Likes

So very minimal conky.

Took from this conky: eOS Conky by npikill

Summary
conky.config = {
    alignment = 'top_middle',
	background = false,
	border_inner_margin = 15,
	border_width = 5,
	default_color = '5A5B3F',  --ffffff # grey 5f5f5f 3F3F3F 183149 3B3B3B 26211F
	double_buffer = true,
	draw_borders = false,
	draw_graph_borders = false,
	draw_outline = false,
	draw_shades = false,
	gap_x = 30,
	gap_y = 60,
	maximum_width = 550,
	double_buffer = true,
	override_utf8_locale = true,
    own_window = true,
    own_window_class = 'Conky',
    own_window_type = 'desktop',
	own_window_transparent = false,
	own_window_hints = 'undecorated,below,skip_taskbar,skip_pager,sticky',
	own_window_argb_visual = true,
	own_window_argb_value = 0,
	text_buffer_size = 8000,
	total_run_times = 0,
	update_interval = 1,
	uppercase = false,
	use_xft = true,
	xftalpha = 1,
	short_units = false,
	font = 'Raleway:style=Light:pixelsize=16',
	color1 = '505139',
	color2 = '005929',
	color3 = '005929',
}
conky.text = [[

${font Raleway:weight=Light:size=88}${alignc}${time %I:%M}${font}


${goto 15}${font Raleway:weight=Light:size=32}${alignc} ${time %A %B %d}${font}

${font Signerica Medium:pixelsize=24}${alignc}${color1}Manjaro Linux${color}
]]
3 Likes

Ok so added a little to the last conky I posted in case someone wanted a little more info in the conky.

Summary
conky.config = {
    alignment = 'top_middle',
	background = false,
	border_inner_margin = 15,
	border_width = 5,
	default_color = '5A5B3F',  --ffffff # grey 5f5f5f 3F3F3F 183149 3B3B3B 26211F
	double_buffer = true,
	draw_borders = false,
	draw_graph_borders = false,
	draw_outline = false,
	draw_shades = false,
	gap_x = 30,
	gap_y = 60,
	maximum_width = 650,
	double_buffer = true,
	override_utf8_locale = true,
    own_window = true,
    own_window_class = 'Conky',
    own_window_type = 'normal',
	own_window_transparent = false,
	own_window_hints = 'undecorated,below,skip_taskbar,skip_pager,sticky',
	own_window_argb_visual = true,
	own_window_argb_value = 0,
	text_buffer_size = 8000,
	total_run_times = 0,
	update_interval = 1,
	uppercase = false,
	use_xft = true,
	xftalpha = 1,
	short_units = false,
	font = 'Raleway:style=Light:pixelsize=16',
	color1 = '505139',
	color2 = '005929',
	color3 = '005929',
}
conky.text = [[

${font Raleway:weight=Light:size=78}${alignc}${time %I:%M}${font}

${goto 15}${font Raleway:weight=Light:size=28}${alignc} ${time %A %B %d}${font}
${alignc}${voffset 6}${offset 12}${font GE_Inspira:pixelsize=14}${color 86877A}HD ${offset 9}$color${fs_free /} / ${fs_size /}${offset 30}${color 86877A}RAM ${offset 9}$color$mem / $memmax${offset 30}${color 86877A}CPU ${offset 9}$color${cpu cpu0}%
${alignc}       __________________________________________________________________________

${font Signerica Medium:pixelsize=20}${alignc}${color1}Manjaro Linux${color}
]]
4 Likes

Resumen
conky.config = {
  alignment = 'top_right',
  background = true,
  border_width = 0.5,
  cpu_avg_samples = 4,
  default_color = 'white',
  default_outline_color = 'grey',
  default_shade_color = 'black',
  draw_borders = true,
  draw_graph_borders = true,
  draw_outline = false,
  draw_shades = false,
  use_xft = true,
  font = 'OpenSans:size=10',
  gap_x = 1,
  gap_y = 0,
  maximum_width = 400,
  minimum_height = 5,
  minimum_width = 5,
  net_avg_samples = 2,
  double_buffer = true,
  out_to_console = false,
  out_to_stderr = false,
  extra_newline = false,
  own_window = true,
  own_window_colour = '000000',
  own_window_class = 'Conky',
  own_window_argb_visual = true,
  own_window_type = 'desktop',
  own_window_transparent = true,
  own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
  stippled_borders = 0,
  update_interval = 1,
  uppercase = false,
  use_spacer = 'none',
  show_graph_scale = false,
  show_graph_range = false
};

conky.text = [[
${font MesloLGS NF:bold:size=18}$alignc${color Lime}๏Œ’ Manjaro ${execi 100000 lsb_release -sc}
${voffset -90} 
${color white}
${font}
${font OxygenSans:pixelsize=18}$alignc${time %A} ${color white}${time %b}-${color white}${time  %d}-${color white}${time %Y}${font}
${font OxygenSans:pixelsize=18}$alignc${time %I:%M:%S} ${color white}
#System
${font MesloLGS NF:size=15}${color Tan1}๏ ค ${font OxygenSans:bold:size=11}${color Tan1}SYSTEM ${color White}${hr 2}
$font${color White}$sysname $kernel $alignr $machine
Hostname: $alignr${nodename}
Uptime: $alignr${uptime}
System Updates: $alignr ${execpi 3600 checkupdates | wc -l}  Updates
Battery: $alignr ${battery_time BAT1}  ${battery_percent BAT1}%
#CPU
${font MesloLGS NF:size=14}${color Tan1}๏„ต ${font OxygenSans:bold:size=11}${color Tan1}CPU ${color White}${hr 2}
#$font${color White}Temperature: $alignr ${acpitemp} ยฐC
${font OpenSans:bold:size=10}${color White}CPU USAGE: ${cpu cpu0}% $alignr Temp: ${hwmon 4 temp 1}ยฐC
$font${color White}CPU1 ${freq_g 1}Ghz  ${cpubar cpu1}
CPU2 ${freq_g 2}Ghz  ${cpubar cpu2}
CPU3 ${freq_g 3}Ghz  ${cpubar cpu3}
CPU4 ${freq_g 4}Ghz  ${cpubar cpu4}
CPU5 ${freq_g 5}Ghz  ${cpubar cpu5}
CPU6 ${freq_g 6}Ghz  ${cpubar cpu6}
CPU7 ${freq_g 7}Ghz  ${cpubar cpu7}
CPU8 ${freq_g 8}Ghz  ${cpubar cpu8}
${cpugraph} $color
#MEMORY
${font MesloLGS NF:size=14}${color Tan1}๎‰ฆ ${font OxygenSans:bold:size=11}${color Tan1}MEMORY ${color White}${hr 2}
$font${color White}MEM $alignc $mem / $memmax $alignr $memperc%
$membar
$font${color White}SWAP $alignc $swap / $swapmax $alignr $swapperc%
$swapbar
#HDD
${font MesloLGS NF:size=15}${color Tan1}๏‚  ${font OxygenSans:bold:size=11}${color Tan1}SSD ${color White}${hr 2}
$font${color White}Boot $alignc ${fs_used /boot} / ${fs_size /boot} $alignr ${fs_used_perc /boot}%
${fs_bar /boot}
$font${color White}Root $alignc ${fs_used /} / ${fs_size /} $alignr ${fs_used_perc /}%
${fs_bar /}
$font${color White}Home $alignc ${fs_used /home} / ${fs_size /home} $alignr ${fs_used_perc /home}%
${fs_bar /home}
#TOP PROCESSES
${font MesloLGS NF:size=15}${color Tan1}๏‚… ${font OxygenSans:bold:size=11}${color Tan1}TOP PROCESSES ${color White}${hr 2}
${color White}$font${top_mem name 1}${alignr}${top_mem mem 1} %
$font${top_mem name 2}${alignr}${top_mem mem 2} %
$font${top_mem name 3}${alignr}${top_mem mem 3} %
$font${top_mem name 4}${alignr}${top_mem mem 4} %
#NETWORK WLAN0
${if_existing /proc/net/route wlan0}${font MesloLGS NF:size=15}${color Tan1}๏‡ซ ${font OxygenSans:bold:size=11}${color Tan1}NETWORK ${color White}${hr 2}
$font${color White}${wireless_essid wlan0} Quality: $alignr ${wireless_link_qual_perc wlan0}%
${wireless_link_bar wlan0}
$font${color White}Local IP: $alignr ${addrs wlan0}
Down Speed: $alignr ${downspeed wlan0}/s
Up Speed: $alignr ${upspeed wlan0}/s
${hr 2}
Downloaded: $alignr ${totaldown wlan0}
Uploaded: $alignr ${totalup wlan0}
#NETWORK ETH0
${else}${if_existing /proc/net/route eth0}${font MesloLGS NF:size=15}${color Tan1}๏กท ${font OxygenSans:bold:size=11}${color Tan1}NETWORK ${color White}${hr 2}
$font${color White}Local IP: $alignr ${addrs eth0}
${hr 2}
Down Speed: $alignr ${downspeed eth0}/s
Up Speed: $alignr ${upspeed eth0}/s
${hr 2}
Downloaded: $alignr ${totaldown eth0}
Uploaded: $alignr ${totalup eth0}${endif}${endif}
]];
4 Likes

New custom conky, minimal.

Summary
##Feel free to edit and make your own. 

conky.config = {
  console_bar_fill   = 'ยป',
  console_bar_unfill = ' ',
  alignment = 'top_left',
  background = false,
  border_width = 2,
  cpu_avg_samples = 2,
  -- define colours:
  default_color = '#00C75C',  -- Orange
  color1 = '#709080',         -- Kakhi
  color2 = '#b4b4b4',         -- Light Grey
  color3 = '#717373',         -- Light Green
  color4 = '#3E3E3E',         -- White
  color5 = '#e0c0ad',         -- Black
  color6 = '#ffffff',         -- Light aubergine
  font = 'GE Inspira Regular:pixelsize=13',
  default_outline_color = '#1abc9c',  -- Same HTML as current terminal
  default_shade_color = '#1abc9c',  -- Same HTML as current terminal
  double_buffer = true,
  draw_borders = false,
  draw_graph_borders = true,
  draw_outline = false,
  draw_shades = false,
  extra_newline = false,
  format_human_readable=true,
  gap_x = 10,
  gap_y = 460,
  minimum_height = 300,
  minimum_width = 120,
  net_avg_samples = 2,
  no_buffers = true,
  out_to_console = false,
  out_to_ncurses = false,
  out_to_stderr = false,
  out_to_x = true,
  own_window = true,
  own_window_class = 'conky',
  own_window_type = 'desktop',
  own_window_transparent = false,
  -- set transparency:
  own_window_argb_visual = true,
  own_window_argb_value = 0,
  show_graph_range = false,
  show_graph_scale = false,
  stippled_borders = 0,
  update_interval = 1.0,
  uppercase = false,
  use_spacer = 'none',
  use_xft = true,
};

conky.text = [[
${color6}${font Anton, Regular:pixelsize=120}${time %H}${font}
${color4}${voffset -32}${font Anton, Regular:pixelsize=120}${time %M}${font}
${color6}${hr}$font
${color4}${font Anton, Regular:pixelsize=27}${time %A}${font} 
${color6}${font Anton, Regular:pixelsize=27}${time %B}${font}
${color6}${hr}$font
${color4}${voffset 4}${font Teko, Light:pixelsize=16}CPU Freq: ${color6}$freq_g GHz
${color4}${font Teko, Light:pixelsize=17}CPU Temp: ${color6}${acpitemp}ยฐC
${color4}${font Teko, Light:pixelsize=17}GPU Speed: ${color6}${nvidia gpufreq} Mhz
${color4}${font Teko, Light:pixelsize=17}MEM Speed: ${color6}${nvidia memfreq} Mhz
${color4}${font Teko, Light:pixelsize=17}GPU Temp: ${color6}${nvidia temp} ยฐC
${color4}${font Teko, Light:pixelsize=17}FS-Max:${goto 50}${color6}${fs_size /}
${color4}${font Teko, Light:pixelsize=17}FS-Free:${goto 50}${color6}${fs_free /}
]]
3 Likes

I am using Conky Grapes, from this repo https://gitlab.nomagic.uk/popi/conky-grapes

I had to do a few tweaks but nothing serious lots of options for colour and all that stuff. Well worth reading the wiki

4 Likes

I tweaked my conky a bit. Made it look more simple.

There are 2 configuration files, named Connection and System.
If you want the whole package including visuals, you can download the ZIP here.

Connection
conky.config = {
	use_xft = true,
	font = '123:size=10',
	xftalpha = 0.1,
	update_interval = 1,
	total_run_times = 0,
	own_window = true,
	own_window_type = 'normal',
	own_window_transparent = false,
	own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
	own_window_colour = '000000',
	own_window_argb_visual = false,
	own_window_argb_value = 102,
	double_buffer = true,
	draw_shades = false,
	draw_outline = false,
	draw_borders = false,
	draw_graph_borders = false,
	default_color = 'white',
	default_shade_color = 'red',
	default_outline_color = 'green',
	alignment = 'top_left',
	gap_x = 40,
	gap_y = 40,
	minimum_width = 950, minimum_height = 300,
	maximum_width = 950,
	no_buffers = true,
	uppercase = false,
	cpu_avg_samples = 2,
	net_avg_samples = 1,
	override_utf8_locale = true,
	use_spacer = 'left',
};

conky.text = [[
${image ~/.conky/Connections.png -p 0,0 -s 950x300}


${color 35805f}${goto 50}IN  $color${tcp_portmon 1 32767 count}${color 35805f}     OUT  $color${tcp_portmon 32768 61000 count}
${color a497a0}${font comic:pixelsize=12}
${offset 50}${tcp_portmon 1 65535 rhost 0}${goto 500}${tcp_portmon 1 65535 rip 0}${goto 700}${tcp_portmon 1 65535 rport 0}${goto 775}${tcp_portmon 1 65535 rservice 0}${goto 850}${tcp_portmon 1 65535 lport 0}
${offset 50}${tcp_portmon 1 65535 rhost 1}${goto 500}${tcp_portmon 1 65535 rip 1}${goto 700}${tcp_portmon 1 65535 rport 1}${goto 775}${tcp_portmon 1 65535 rservice 1}${goto 850}${tcp_portmon 1 65535 lport 1}
${offset 50}${tcp_portmon 1 65535 rhost 2}${goto 500}${tcp_portmon 1 65535 rip 2}${goto 700}${tcp_portmon 1 65535 rport 2}${goto 775}${tcp_portmon 1 65535 rservice 2}${goto 850}${tcp_portmon 1 65535 lport 2}
${offset 50}${tcp_portmon 1 65535 rhost 3}${goto 500}${tcp_portmon 1 65535 rip 3}${goto 700}${tcp_portmon 1 65535 rport 3}${goto 775}${tcp_portmon 1 65535 rservice 3}${goto 850}${tcp_portmon 1 65535 lport 3}
${offset 50}${tcp_portmon 1 65535 rhost 4}${goto 500}${tcp_portmon 1 65535 rip 4}${goto 700}${tcp_portmon 1 65535 rport 4}${goto 775}${tcp_portmon 1 65535 rservice 4}${goto 850}${tcp_portmon 1 65535 lport 4}
${offset 50}${tcp_portmon 1 65535 rhost 5}${goto 500}${tcp_portmon 1 65535 rip 5}${goto 700}${tcp_portmon 1 65535 rport 5}${goto 775}${tcp_portmon 1 65535 rservice 5}${goto 850}${tcp_portmon 1 65535 lport 5}
${offset 50}${tcp_portmon 1 65535 rhost 6}${goto 500}${tcp_portmon 1 65535 rip 6}${goto 700}${tcp_portmon 1 65535 rport 6}${goto 775}${tcp_portmon 1 65535 rservice 6}${goto 850}${tcp_portmon 1 65535 lport 6}
${offset 50}${tcp_portmon 1 65535 rhost 7}${goto 500}${tcp_portmon 1 65535 rip 7}${goto 700}${tcp_portmon 1 65535 rport 7}${goto 775}${tcp_portmon 1 65535 rservice 7}${goto 850}${tcp_portmon 1 65535 lport 7}
${offset 50}${tcp_portmon 1 65535 rhost 8}${goto 500}${tcp_portmon 1 65535 rip 8}${goto 700}${tcp_portmon 1 65535 rport 8}${goto 775}${tcp_portmon 1 65535 rservice 8}${goto 850}${tcp_portmon 1 65535 lport 8}
${offset 50}${tcp_portmon 1 65535 rhost 9}${goto 500}${tcp_portmon 1 65535 rip 9}${goto 700}${tcp_portmon 1 65535 rport 9}${goto 775}${tcp_portmon 1 65535 rservice 9}${goto 850}${tcp_portmon 1 65535 lport 9}



]];
System
conky.config = {

	update_interval = 2.0,
	total_run_times = 0,
	net_avg_samples = 2,
	cpu_avg_samples = 2,
	double_buffer = true,
	no_buffers = true,
	use_xft = true,
	font = 'Ubuntu:size=10',
	override_utf8_locale = true,
	default_color = '#cccccc',
	color0 = 'darkgrey',
	color1 = '#77507b',
	color2 = 'white',
	color3 = '#35805f',
	color4 = '#4e4141',
	own_window = true,
	own_window_type = 'normal',
	own_window_transparent = false,
	own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
	own_window_colour = '000000',
	own_window_argb_visual = false,
	own_window_argb_value = 153,
	alignment = 'top_right',
	gap_x = 40,
	gap_y = 40,
	minimum_width = 300, minimum_height = 555,
	maximum_width = 300,
	draw_shades = false,

};
conky.text = [[
${image ~/.conky/System.png -p 0,0 -s 300x555}


${goto 32}${color0}Kernel: ${goto 100}${color2}${kernel}${color}
${image ~/.conky/logo.png -p 200,95 -s 55x55}
${goto 32}${color0}CPU : ${color1}${goto 100}${cpu cpu0}%${color}
${goto 32}${color0}Temp : ${color1}${goto 100}${hwmon acpitz temp 1} ยฐC${color}
${goto 32}${color0}Freq : ${color1}${goto 100}${freq_g cpu0} GHz

${goto 32}${color0}RAM : ${color1}${goto 100}$memperc%${goto 205}${mem}
${goto 32}${color0}Swap : ${goto 100}${color1}${swap}${color0}${color}

${goto 32}${color0}System used :${goto 150}${color1}${fs_used /}${color}
${goto 32}${color0}Backup used : ${goto 150}${color1}${fs_used /run/media/lunix/Backup/}

${goto 32}${color0}SSD Temp : ${goto 150}${color1}${hddtemp /dev/sda}.0 ยฐC

${goto 32}${color0}Up: ${color1}${goto 100}${upspeed wlp3s0}${goto 205}${color2}${execi 30 vnstat -i wlp3s0 | grep "today" | awk '{print $5 $6}'}
${goto 32}${color0}Down: ${color1}${goto 100}${downspeed wlp3s0}${goto 205}${color2}${execi 30 vnstat -i wlp3s0 | grep "today" | awk '{print $2 $3}'}

${goto 32}${color0}WIFI: ${goto 100}${execpi 30 /home/lunix/.conky/conky_scripts/pingtest.sh 192.168.1.101}${color1}${goto 205}${wireless_link_qual_perc wlp3s0}%
 
${goto 32}${color0}Local IP: ${goto 150}${color2}${addr wlp3s0}
${goto 32}${color0}Public IP: ${goto 150}${color2}${execi 30 wget -q -O - checkip.dyndns.org | sed -e 's/[^[:digit:]\|.]//g'}

${goto 32}${color0}Kabylake:${goto 150}${execpi 30 /home/lunix/.conky/conky_scripts/pingtest.sh 192.168.1.106}
${goto 32}${color0}Nas:${goto 150}${execpi 30 /home/lunix/.conky/conky_scripts/pingtest.sh 192.168.1.102}
${goto 32}${color0}Vero 4k+:${goto 150}${execpi 30 /home/lunix/.conky/conky_scripts/pingtest.sh 192.168.1.103}

]];
6 Likes

Nice simple conky. :smiley:

Made some minor changes from original conky. Added Date and time. Added number of installed packages. Adjusted for 8 cores and added more load and memory services.

Original Conky

Summary
##Feel free to edit and make your own. 

conky.config = { 

	background = true,
	use_xft = true,
	font = 'monospace:size=8',
	xftalpha = 0.8,
	update_interval = 0.5,
	total_run_times = 0,
	own_window = true,
	own_window_transparent = true,
	own_window_type = 'normal',
	own_window_class = 'conky',
	own_window_argb_visual = true,
--	own_window_colour = '#2e3436',
--      own_window_argb_value = 120,
	own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
	double_buffer = true,
	draw_shades = false,
	draw_outline = false,
	draw_borders = false,
	draw_graph_borders = true,
	stippled_borders = 1,
	border_width = 1,
	default_color = '#2e3436',
	default_shade_color = 'gray',
	default_outline_color = 'black',
	alignment = 'top_right',
	gap_x = 15,
	gap_y = 145,

-- Misc Console #
   out_to_console = false,
   out_to_stderr = false,
   extra_newline = false,

   no_buffers = true,
   cpu_avg_samples = 2,
   net_avg_samples = 2,
   override_utf8_locale = true,
   use_spacer = 'right',
   maximum_width = 700,
   minimum_height = 800,
   uppercase = true,

};

conky.text = [[
#leet chars: โ”คโ”คโ””โ””โ”ดโ”ดโ”โ”โ”‚โ”‚โ”˜โ”˜โ”Œโ”Œโ”œโ”œโ”ฌโ”ฌโ”ผโ”ผโ”ดโ”ดโ”€โ”€ โ”‚โ”‚ โ–ฝโ–ผโ–ณโ–ฒโ–ตโ–ดโ–พโ–ฟ
${alignc}${offset 41}${font xftfont montserrat:size=10} Garuda Workstation ${font}
${alignr}${offset -6}โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
${alignr}${offset -6}date/time โ”€โ”ค
${alignr}${offset -6}< ${time %B %d %Y}${font} > โ”€โ”ค   โ”‚
${alignr}${offset -6}< ${time %I:%M %p}${font} > โ”€โ”˜   โ”‚
${alignr}${offset -6}โ”‚
${alignr}${offset -6}${exec lsb_release -si} ${machine} โ”€โ”ค
${alignr}${offset -6}< ${kernel} > Kernel โ”€โ”ค   โ”‚
${alignr}${offset -6}< ${uptime} > Uptime โ”€โ”ค   โ”‚
${alignr}${offset -6}< ${execi 600 pacman -Q | wc -l} > packages โ”€โ”ค   โ”‚
${alignr}${offset -6}< ${execi 3600 checkupdates | wc -l} > updates โ”€โ”˜   โ”‚
${alignr}${offset -6}โ”‚
${alignr}${offset -6}system โ”€โ”ค
${alignr}${offset -6}< ${execi 1000 cat /proc/cpuinfo|grep 'model name'|sed -e 's/model name.*: //'| uniq | cut -c 1-24} > CPU โ”€โ”ค   โ”‚
${alignr}${offset -6}โ”‚   โ”‚   โ”‚
${alignr}${offset -6}used โ”€โ”ค   โ”‚   โ”‚
${alignr}${offset -6}< ${cpu cpu 1}% > cpu1 โ”€โ”ค   โ”‚   โ”‚   โ”‚
${alignr}${offset -6}< ${cpu cpu 2}% > cpu2 โ”€โ”ค   โ”‚   โ”‚   โ”‚
${alignr}${offset -6}< ${cpu cpu 3}% > cpu3 โ”€โ”ค   โ”‚   โ”‚   โ”‚
${alignr}${offset -6}< ${cpu cpu 4}% > cpu4 โ”€โ”ค   โ”‚   โ”‚   โ”‚
${alignr}${offset -6}< ${cpu cpu 5}% > cpu5 โ”€โ”ค   โ”‚   โ”‚   โ”‚
${alignr}${offset -6}< ${cpu cpu 6}% > cpu6 โ”€โ”ค   โ”‚   โ”‚   โ”‚
${alignr}${offset -6}< ${cpu cpu 7}% > cpu7 โ”€โ”ค   โ”‚   โ”‚   โ”‚
${alignr}${offset -6}< ${cpu cpu 8}% > cpu8 โ”€โ”˜   โ”‚   โ”‚   โ”‚
${alignr}${offset -6}โ”‚   โ”‚   โ”‚
${alignr}${offset -6}< $loadavg > load โ”€โ”ค   โ”‚   โ”‚
${alignr}${offset -6}< ${top name 1} ${top cpu 1} > โ”€โ”ค   โ”‚   โ”‚
${alignr}${offset -6}< ${top name 2} ${top cpu 2} > โ”€โ”ค   โ”‚   โ”‚
${alignr}${offset -6}< ${top name 3} ${top cpu 3} > โ”€โ”ค   โ”‚   โ”‚
${alignr}${offset -6}< ${top name 4} ${top cpu 4} > โ”€โ”ค   โ”‚   โ”‚
${alignr}${offset -6}< ${top name 5} ${top cpu 5} > โ”€โ”ค   โ”‚   โ”‚
${alignr}${offset -6}< ${top name 6} ${top cpu 6} > โ”€โ”ค   โ”‚   โ”‚
${alignr}${offset -6}< ${top name 7} ${top cpu 7} > โ”€โ”ค   โ”‚   โ”‚
${alignr}${offset -6}< ${top name 8} ${top cpu 8} > โ”€โ”ค   โ”‚   โ”‚
${alignr}${offset -6}< ${top name 9} ${top cpu 9} > โ”€โ”ค   โ”‚   โ”‚
${alignr}${offset -6}< ${top name 10} ${top cpu 10} > โ”€โ”˜   โ”‚   โ”‚
${alignr}${offset -6}โ”‚   โ”‚
${alignr}${offset -6}Processes โ”€โ”ค   โ”‚
${alignr}${offset -6}< $processes > โ”€ < $running_processes > โ”€โ”˜   โ”‚   โ”‚
${alignr}${offset -6}โ”‚   โ”‚
${alignr}${offset -6}Temperatures โ”€โ”ค   โ”‚
${alignr}${offset -6}< ${acpitemp}ยฐC > cpu โ”€โ”ค   โ”‚   โ”‚
${alignr}${offset -6}< ${execi 5 nvidia-settings -t -q [gpu]/GPUCoreTemp} ยฐC > gpu โ”€โ”˜   โ”‚   โ”‚
${alignr}${offset -6}โ”‚   โ”‚
${alignr}${offset -6}Memory โ”€โ”ค   โ”‚
${alignr}${offset -6}< $memperc% > used โ”€โ”ค   โ”‚   โ”‚
${alignr}${offset -6}< $mem/$memmax > โ”€โ”˜    โ”‚   โ”‚   โ”‚
${alignr}${offset -6}< ${top name 1} ${top mem 1} > โ”€โ”ค   โ”‚   โ”‚
${alignr}${offset -6}< ${top name 2} ${top mem 2} > โ”€โ”ค   โ”‚   โ”‚
${alignr}${offset -6}< ${top name 3} ${top mem 3} > โ”€โ”ค   โ”‚   โ”‚
${alignr}${offset -6}< ${top name 4} ${top mem 4} > โ”€โ”ค   โ”‚   โ”‚
${alignr}${offset -6}< ${top name 5} ${top mem 5} > โ”€โ”ค   โ”‚   โ”‚
${alignr}${offset -6}< ${top name 6} ${top mem 6} > โ”€โ”ค   โ”‚   โ”‚
${alignr}${offset -6}< ${top name 7} ${top mem 7} > โ”€โ”ค   โ”‚   โ”‚
${alignr}${offset -6}< ${top name 8} ${top mem 8} > โ”€โ”ค   โ”‚   โ”‚
${alignr}${offset -6}< ${top name 9} ${top mem 9} > โ”€โ”ค   โ”‚   โ”‚
${alignr}${offset -6}< ${top name 10} ${top mem 10} > โ”€โ”˜   โ”‚   โ”‚
${alignr}${offset -6}โ”‚   โ”‚
${alignr}${offset -6}Disk Usage โ”€โ”˜   โ”‚
${alignr}${offset -6}< $diskio_read >  read โ”€โ”ค       โ”‚
${alignr}${offset -6}< $diskio_write > write โ”€โ”ค       โ”‚
${alignr}${offset -6}< ${fs_used /}/${fs_size /} > /root โ”€โ”ค       โ”‚
${alignr}${offset -6}< ${fs_bar 5,120 /} > โ”€โ”˜     โ”‚       โ”‚
${alignr}${offset -6}< ${fs_used /home}/${fs_size /home} > /home โ”€โ”˜       โ”‚
${alignr}${offset -6}< ${fs_bar 5,120 /home} > โ”€โ”˜             โ”‚
${alignr}${offset -6}Network โ”€โ”˜
${alignr}${offset -32}< $nodename > hostname โ”€โ”ค
${alignr}${offset -32}< ${execi 60 wget -qO- ifconfig.co} > Wan โ”€โ”ค
${alignr}${offset -32}< ${addr enp5s0} > Lan โ”€โ”ค
${alignr}${offset -32}< ${downspeed enp5s0} k/s > โ–ผ download โ”€โ”ค
${alignr}${offset -32}< ${downspeedgraph enp5s0 12,120 c44400 ba8d01} > โ”€โ”˜    โ”‚
${alignr}${offset -32}< ${upspeed enp5s0} k/s >   โ–ฒ upload โ”€โ”˜
${alignr}${offset -62}< ${upspeedgraph enp5s0 12,120 c44400 ba8d01} > โ”€โ”˜
]];
2 Likes

Automatik conky Theme

Infofile
double_buffer yes
update_interval 2
background yes

own_window yes

# own_window_type desktop
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
#own_window_type override
own_window_argb_visual true
own_window_argb_value 160
out_to_console no
own_window_transparent no
own_window_class conky-semi
use_xft yes
xftfont cure:size=10

#use_xft yes
#xftfont Sansation:size=9
xftfont Rounded Elegance:size=10
xftalpha 0
update_interval 2
cpu_avg_samples 2
net_avg_samples 2
double_buffer yes
maximum_width 320
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders yes
stippled_borders 1
border_width 0
default_color white
default_shade_color white
default_outline_color white
alignment top_right

use_spacer left
no_buffers yes
uppercase no

color0 white

color2 white
color3 1793d0


pad_percents 2
top_name_width 10
minimum_size 320 100
gap_x   15
gap_y 50

TEXT
${image img/information.png -p 0,0 -s 30x30}
${offset 35}${font Good Times:size=12}${color Tan1}SYSTEM INFORMATION ${color}${hr 2}${font}
${goto 80}${color red}${font Ubuntu-Title:size=11}"manjaro linux"${font}${color} | X-Cinnamon
${goto 80}gnussbaum@manjaro
${goto 80}Kernel: $kernel $machine
${goto 80}Uptime:$uptime
#${font DJB Get Digital:size=30}${tab 90}${time %H:%M:%S}
${image img/logo-manjaro.png -p 5,40 -s 64x64}

clockfile
double_buffer yes
update_interval 2
background yes

own_window yes

# own_window_type desktop
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
#own_window_type override
own_window_argb_visual true
own_window_argb_value 160
out_to_console no
own_window_transparent no
own_window_class conky-semi
use_xft yes
xftfont cure:size=10

#use_xft yes
#xftfont Sansation:size=9
xftfont Rounded Elegance:size=10
xftalpha 0
update_interval 2
cpu_avg_samples 2
net_avg_samples 2
double_buffer yes
maximum_width 320
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders yes
stippled_borders 1
border_width 0
default_color white
default_shade_color white
default_outline_color white
alignment top_right

use_spacer left
no_buffers yes
uppercase no

color0 white

color2 white
color3 1793d0


pad_percents 2
top_name_width 10
minimum_size 320 100

#==============================================================================
#                               conkyrc_orange
#
#  author  : SLK
#  version : v2011011601
#  license : Distributed under the terms of GNU GPL version 2 or later
#
#==============================================================================



gap_x 15
gap_y 160

alignment top_right
update_interval 1
lua_load clock.lua
lua_draw_hook_post main

color1 white #Month color
color2 white #Year  color
color3 white #Weekdays color
color4 FFE3A0 #Current weekday color
color5 white  #Days of month color
color6 ff0000 #Current day color
double_buffer true


TEXT
${image img/calendar_clock.png -p 0,0 -s 30x30}#
#${image img/calendar.png -p 10,40 -s 140x120}
${image img/flip_background.png -p 5,40 -s 160x130}
#${image img/background.png -p 5,70 -s 160x100}
${offset 35}${font Good Times:size=12}${color Tan1}TIME - DATE  ${color}${hr 2}${font}

#${goto 20}${voffset 0}${color}${font Rounded Elegance:size=14:weight=bold}${time %B}#
#${alignr 180}${font Rounded Elegance:size=9:weight=normal}${time %Y}
#${voffset 10}${alignc 80}${color 000000}${font Rounded Elegance:size=14}${time %A}
#${alignc 80}${color FF0000}${font Rounded Elegance:size=45:weight=bold}${time %d}${font Rounded Elegance:size=10:weight=normal}

${voffset 0}
${font Liquid Crystal:size=25}${color FF0000}${goto 228}${time %I}${goto 263}${blink :}${goto 272}${time %M}${color}
${font Liquid Crystal:size=15}
${image img/unnamed.png -p 209,41 -s 110x110}
${image img/s.png -p 10,50 -s 19x19}#
${image img/u.png -p 29,50 -s 19x19}#
${image img/n.png -p 48,50 -s 19x19}#
${image img/d.png -p 67,50 -s 19x19}#
${image img/a.png -p 86,50 -s 19x19}#
${image img/y.png -p 105,50 -s 19x19}#
${image img/empty.png -p 124,50 -s 19x19}#
${image img/empty.png -p 143,50 -s 19x19}#
${image img/1.png -p 25,75 -s 60x60}#
${image img/7.png -p 85,75 -s 60x60}#
${image img/a.png -p 10,140 -s 15x15}#
${image img/p.png -p 25,140 -s 15x15}#
${image img/r.png -p 40,140 -s 15x15}#
${image img/i.png -p 55,140 -s 15x15}#
${image img/l.png -p 70,140 -s 15x15}#
${image img/2.png -p 100,140 -s 15x15}#
${image img/0.png -p 115,140 -s 15x15}#
${image img/2.png -p 130,140 -s 15x15}#
${image img/2.png -p 145,140 -s 15x15}#

memfile
double_buffer yes
update_interval 2
background yes

own_window yes

# own_window_type desktop
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
#own_window_type override
own_window_argb_visual true
own_window_argb_value 160
out_to_console no
own_window_transparent no
own_window_class conky-semi
use_xft yes
xftfont cure:size=10

#use_xft yes
#xftfont Sansation:size=9
xftfont Rounded Elegance:size=10
xftalpha 0
update_interval 2
cpu_avg_samples 2
net_avg_samples 2
double_buffer yes
maximum_width 320
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders yes
stippled_borders 1
border_width 0
default_color white
default_shade_color white
default_outline_color white
alignment top_right

use_spacer left
no_buffers yes
uppercase no

color0 white

color2 white
color3 1793d0


pad_percents 2
top_name_width 10
minimum_size 320 100
gap_x 15
gap_y  367
lua_load allcombined.lua

#${lua gradbar {5, 218 "${memperc}" ,100, 80, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}

TEXT
${image img/memory.png -p 0,0 -s 30x30}
${offset 35}${font Good Times:size=12}${color Tan1}MEMORY ${color}${hr 2}${font}
${color}Ram${color}${alignr}$memmax 
${lua gradbar {6, 55, "${memperc}", 100, 97, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}
${color}$mem used${alignr}${memfree} free
${image img/trans-bg240.png -p 2,50 -s 290x11}
${color}Swap partition${alignr}${swapmax}
${lua gradbar {6, 115 "${swapperc}", 100, 97, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}
${color}$swap used${alignr}${swapfree} free
${image img/trans-bg240.png -p 2,110 -s 290x11}#



cpufiles
double_buffer yes
update_interval 2
background yes

own_window yes

# own_window_type desktop
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
#own_window_type override
own_window_argb_visual true
own_window_argb_value 160
out_to_console no
own_window_transparent no
own_window_class conky-semi
use_xft yes
xftfont cure:size=10

#use_xft yes
#xftfont Sansation:size=9
xftfont Rounded Elegance:size=10
xftalpha 0
update_interval 2
cpu_avg_samples 2
net_avg_samples 2
double_buffer yes
maximum_width 320
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders yes
stippled_borders 1
border_width 0
default_color white
default_shade_color white
default_outline_color white
alignment top_right

use_spacer left
no_buffers yes
uppercase no

color0 white

color2 white
color3 1793d0


pad_percents 2
top_name_width 10
minimum_size 320 100

gap_x 15
gap_y 520

lua_load allcombined.lua


TEXT
${image img/cpu2.png -p 0,0 -s 30x30}
${offset 35}${font Good Times:size=12}${color Tan1}CPU INFORMATION ${color}${hr 2}
${font}${color}${execi 1000 cat /proc/cpuinfo | grep 'model name' | sed -e 's/model name.*: //'| uniq}
${color lightgrey}Temperature  ${texeci 10 sensors | grep Core | awk '!/-/' | awk '{ print $3}' | sort -r | head -n 1}
${alignc}${color #000000}${cpugraph 20,318 000000 FFFFFF}${color}
# CPU1
Cpu  1${goto 50} : ${cpu cpu1}% ${lua gradbar {100, 110, "${cpu cpu1}", 100, 40, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 230}${color}${freq 1} 
MHz${image img/trans-bg240.png -p 96,105 -s 121x11}
# CPU2
Cpu  2${goto 50} : ${cpu cpu2}% ${lua gradbar {100, 125, "${cpu cpu2}", 100, 40, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 230}${color}${freq 2} 
MHz${image img/trans-bg240.png -p 96,120 -s 121x11}

topfile
double_buffer yes
update_interval 2
background yes

own_window yes

# own_window_type desktop
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
#own_window_type override
own_window_argb_visual true
own_window_argb_value 160
out_to_console no
own_window_transparent no
own_window_class conky-semi
use_xft yes
xftfont cure:size=10

#use_xft yes
#xftfont Sansation:size=9
xftfont Rounded Elegance:size=10
xftalpha 0
update_interval 2
cpu_avg_samples 2
net_avg_samples 2
double_buffer yes
maximum_width 320
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders yes
stippled_borders 1
border_width 0
default_color white
default_shade_color white
default_outline_color white
alignment top_right

use_spacer left
no_buffers yes
uppercase no

color0 white

color2 white
color3 1793d0


pad_percents 2
top_name_width 10
minimum_size 320 100
gap_x 380
gap_y 50

TEXT
${image img/gearwheels.png -p 0,0 -s 30x30}
${offset 35}${font Good Times:size=12}${color Tan1}TASKS AND PROCESSES ${color}${hr 2}${font}
${offset 5}${color}Load: ${loadavg 1}
#${running_processes} ${running_threads} ${processes}
${hr 2}${font}
${color lightgrey}${font Futurist Fixed-width:size=10:bold}${color lightgrey}${offset 5}PROCESS          CPU${alignr}   MEMORY        ${offset -5}PID
${voffset -10}${hr 1}${font}${color}${font monofur:size=11}
${voffset -5}#
${offset 5}${top name 1} ${alignr}${top cpu 1}%      ${top mem_res 1}     ${alignr}${offset -5}${top pid 1}
${offset 5}${top name 2} ${alignr}${top cpu 2}%      ${top mem_res 2}     ${alignr}${offset -5}${top pid 2}
${offset 5}${top name 3} ${alignr}${top cpu 3}%      ${top mem_res 3}     ${alignr}${offset -5}${top pid 3}
${offset 5}${top name 4} ${alignr}${top cpu 4}%      ${top mem_res 4}     ${alignr}${offset -5}${top pid 4}
${offset 5}${top name 5} ${alignr}${top cpu 5}%      ${top mem_res 5}     ${alignr}${offset -5}${top pid 5}

diskfile
double_buffer yes
update_interval 2
background yes

own_window yes

# own_window_type desktop
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
#own_window_type override
own_window_argb_visual true
own_window_argb_value 160
out_to_console no
own_window_transparent no
own_window_class conky-semi
use_xft yes
xftfont cure:size=10

#use_xft yes
#xftfont Sansation:size=9
xftfont Rounded Elegance:size=10
xftalpha 0
update_interval 2
cpu_avg_samples 2
net_avg_samples 2
double_buffer yes
maximum_width 320
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders yes
stippled_borders 1
border_width 0
default_color white
default_shade_color white
default_outline_color white
alignment top_right

use_spacer left
no_buffers yes
uppercase no

color0 white

color2 white
color3 1793d0


pad_percents 2
top_name_width 10
minimum_size 320 100


gap_x 745
gap_y 50

lua_load allcombined.lua

TEXT
${image img/hard_drive.png -p 0,0 -s 30x30}
${offset 35}${font Good Times:size=12}${color Tan1}DISK USAGE ${color}${hr 2}${font}

 ${color}/
${lua gradbar {6, 70, "${fs_used_perc /}" ,100, 75, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${alignr}${offset -5}${fs_used_perc /}% used
 /dev/sda1 = 20G (${fs_type /})${color}${alignr}${offset -5}${fs_free /} free
${color}${hr 1}

${image img/trans-bg240.png -p 4,65 -s 226x11}
${color lightgrey}Read: $color${diskio_read}${alignr}${color lightgrey}Write: ${color}${diskio_write}
${color #000000}${diskiograph_read 12,145 000000 EEEEEE}${alignr}${color #000000}${diskiograph_write 12,145 000000 EEEEEE}

netfile
double_buffer yes
update_interval 2
background yes

own_window yes

# own_window_type desktop
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
#own_window_type override
own_window_argb_visual true
own_window_argb_value 160
out_to_console no
own_window_transparent no
own_window_class conky-semi
use_xft yes
xftfont cure:size=10

#use_xft yes
#xftfont Sansation:size=9
xftfont Rounded Elegance:size=10
xftalpha 0
update_interval 2
cpu_avg_samples 2
net_avg_samples 2
double_buffer yes
maximum_width 320
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders yes
stippled_borders 1
border_width 0
default_color white
default_shade_color white
default_outline_color white
alignment top_right

use_spacer left
no_buffers yes
uppercase no

color0 white

color2 white
color3 1793d0


pad_percents 2
top_name_width 10
minimum_size 320 100

gap_x 380
gap_y 225

TEXT
${image img/earth_network.png -p 0,0 -s 30x30}
${offset 35}${font Good Times:size=12}${color Tan1}NETWORK DEVICE ${color}${hr 2}${font}
IP address: ${texeci 10000 wget -q -O - checkip.dyndns.org|sed -e 's/.*Current IP Address: //' -e 's/<.*$//'}

${if_match "${addr ens33}"!="No Address"}${goto 14}Interface: ${color3}ens33${color}${goto 160}Local IP:${addr ens33}
${goto 14}${color1}Sending: ${color3}${upspeed ens33}${color1}${alignr}${goto 180}${color1}Receiving:${color1} ${color3}${downspeed ens33}${color}
${goto 14}${color1}Sent :${color1} ${color2}${totalup ens33}${color1}${alignr}${goto 180}${color1}Received :${color}${color2}${totaldown ens33}${color1}
${goto 14}${upspeedgraph ens33  50,140 000000 FF0000}${goto 180}${downspeedgraph ens33 50,140 000000 00FF00}
${voffset -5}${hr 1}
${endif}

1 Like

thanks, used with some modifications

modified
conky.config = {
  alignment = 'top_right',
  background = true,
  border_width = 0.5,
  cpu_avg_samples = 2,
  default_color = 'white',
  default_outline_color = 'grey',
  default_shade_color = 'black',
  draw_borders = true,
  draw_graph_borders = true,
  draw_outline = false,
  draw_shades = false,
  use_xft = true,
  font = 'OpenSans:size=10',
  gap_x = 6,
  gap_y = 40,
  maximum_width = 400,
  minimum_height = 5,
  minimum_width = 5,
  net_avg_samples = 2,
  double_buffer = true,
  out_to_console = false,
  out_to_stderr = false,
  extra_newline = false,
  own_window = true,
  own_window_class = 'Conky',
  own_window_transparent = false,
  own_window_argb_visual = true,
  own_window_argb_value = 100,
  own_window_colour = '#0A0A0A',
  own_window_type = 'desktop',
  own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
  stippled_borders = 0,
  update_interval = 1,
  uppercase = false,
  use_spacer = 'none',
  show_graph_scale = false,
  show_graph_range = false
};

conky.text = [[
${font MesloLGS NF:bold:size=18}$alignc${color Lime}๏Œ’ Manjaro ${execi 100000 lsb_release -sc}
${voffset -90} 
${color white}
${font}
${font OxygenSans:pixelsize=18}$alignc${time %A} ${color white}${time %b}-${color white}${time  %d}-${color white}${time %Y}${font}
${font OxygenSans:pixelsize=18}$alignc${time %H:%M:%S} ${color white}
#System
${font MesloLGS NF:size=15}${color Tan1}๏ ค ${font OxygenSans:bold:size=11}${color Tan1}SYSTEM ${color White}${hr 2}
${font NotoSansMono Nerd Font:size=13}๎œ’$font${color White}$sysname $kernel $alignr $machine
Hostname: $alignr${nodename}
Uptime: $alignr${uptime}
System Updates: $alignr ${execpi 3600 checkupdates | wc -l}  Updates
#CPU
${font MesloLGS NF:size=14}${color Tan1}๏„ต ${font OxygenSans:bold:size=11}${color Tan1}CPU ${color White}${hr 2}
${font OpenSans:bold:size=10}${color White}CPU USAGE: ${cpu cpu0}% $alignr Temp: ${hwmon 2 temp 2}ยฐC
$font${color White}CPU1 ${freq_g 1}Ghz $alignr CPU2 ${freq_g 2}Ghz
#GPU
${font MesloLGS NF:size=14}${color Tan1}๏„ต ${font OxygenSans:bold:size=11}${color Tan1}GPU ${color White}${hr 2}
${font OpenSans:bold:size=10}${color White}Temp: ${nvidia temp}ยฐC $alignr Speed: ${nvidia gpufreq} MHz
${font OpenSans:bold:size=10}${color White}Memory: ${nvidia memused}MB/${nvidia memtotal}MB
#MEMORY
${font MesloLGS NF:size=14}${color Tan1}๎‰ฆ ${font OxygenSans:bold:size=11}${color Tan1}MEMORY ${color White}${hr 2}
$font${color White}MEM $alignc $mem / $memmax $alignr $memperc%
$membar
$font${color White}SWAP $alignc $swap / $swapmax $alignr $swapperc%
$swapbar
#HDD
${font MesloLGS NF:size=15}${color Tan1}๏‚  ${font OxygenSans:bold:size=11}${color Tan1}HDD ${color White}${hr 2}
$font${color White}Root $alignc ${fs_used /} / ${fs_size /} $alignr ${fs_used_perc /}%
${fs_bar /}
$font${color White}Home $alignc ${fs_used /home} / ${fs_size /home} $alignr ${fs_used_perc /home}%
${fs_bar /home}
#TOP PROCESSES
${font MesloLGS NF:size=15}${color Tan1}๏‚… ${font OxygenSans:bold:size=11}${color Tan1} PROCESSES ${color White}${hr 2}
${color White}$font${top_mem name 1}${alignr}${top_mem mem 1} %
$font${top_mem name 2}${alignr}${top_mem mem 2} %
$font${top_mem name 3}${alignr}${top_mem mem 3} %
$font${top_mem name 4}${alignr}${top_mem mem 4} %
$font${top_mem name 5}${alignr}${top_mem mem 5} %
]];
1 Like

my edition

conkyrc
conky.config = {
  alignment = 'middle_right',
  background = true,
  border_width = 0,
  cpu_avg_samples = 2,
  default_color = 'lightgrey',
  default_outline_color = 'grey',
  default_shade_color = 'black',
  draw_borders = false,
  draw_graph_borders = true,
  draw_outline = false,
  draw_shades = false,
  use_xft = true,
  font = 'NotoSansDisplayLight:bold:size=11',
  gap_x = 5,
  gap_y = 0,
  minimum_height = 250,
  minimum_width = 250,
  maximum_width = 400,
  net_avg_samples = 2,
  double_buffer = true,
  out_to_console = false,
  out_to_stderr = false,
  extra_newline = false,
  own_window = true,
  own_window_class = 'Conky',
  own_window_transparent = false,
  own_window_argb_visual = true,
  own_window_argb_value = 100,
  own_window_colour = '#0A0A0A',
  own_window_type = 'desktop',
  own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
  stippled_borders = 0,
  update_interval = 1,
  uppercase = false,
  use_spacer = 'none',
  show_graph_scale = false,
  show_graph_range = false
};

conky.text = [[
${voffset -50}
${color cyan3}
${font NotoSansMono Nerd Font:size=12}$alignr๏Œ’ 
${voffset -30}
${font NotoSans:bold:size=22}$alignc${color cyan3}Manjaro ${execi 86400 lsb_release -sc}
$color${font NotoSansMedium:size=16}$alignc${time %a %d %b}
$color${font NotoSansMono:bold:size=16}$alignc${time %H:%M:%S}
#System
${font NotoSansMono Nerd Font:size=18}${color orange}๏…ผ ${color silver}${stippled_hr 1}
${voffset -45}
$font$color$sysname $kernel $alignr $machine
Hostname: $alignr${nodename}
Uptime: $alignr${uptime}
System Updates: $alignr ${execpi 43200 checkupdates | wc -l}  Updates
#CPU
${font NotoSansMono Nerd Font:size=18}${color orange}๏›น ${color silver}${stippled_hr 1}
${voffset -45}
$font$color${execi 86400 grep -m1 'model name' /proc/cpuinfo}
Core 1 โ€” ${freq_g 1}Ghz $alignr Core 2 โ€” ${freq_g 2}Ghz
Core 3 โ€” ${freq_g 3}Ghz $alignr Core 4 โ€” ${freq_g 4}Ghz
${font NotoSansMono Nerd Font:size=12} ๎ $font${acpitemp}ยฐC $alignr${cpu cpu0}%${font NotoSansMono Nerd Font:size=12} ๏คž 
${color silver}$cpubar
#MEMORY
${font NotoSansMono Nerd Font:size=18}${color orange}๎‰ฆ ${color silver}${stippled_hr 1}
${voffset -45}
$font${color}Memory $alignc $mem / $memmax $alignr$memperc%${font NotoSansMono Nerd Font:size=12} ๏คž 
${color silver}$membar
$font${color}Swap Disc $alignc $swap / $swapmax $alignr$swapperc%${font NotoSansMono Nerd Font:size=12} ๏คž 
${color silver}$swapbar
#HDD
${font NotoSansMono Nerd Font:size=18}${color orange}๏‘ฒ ${color silver}${stippled_hr 1}
${voffset -45}
$font${color}Root $alignc $fs_used / $fs_size $alignr$fs_used_perc%${font NotoSansMono Nerd Font:size=12} ๏คž 
${color silver}$fs_bar
$font${color}Home $alignc ${fs_used /home} / ${fs_size /home} $alignr${fs_used_perc /home}%${font NotoSansMono Nerd Font:size=12} ๏คž 
${color silver}${fs_bar /home}
#PROCESSES
${font NotoSansMono Nerd Font:size=18}${color orange}๏‚… ${color silver}${stippled_hr 1}
${voffset -45}
${font NotoSansBold:size=11}${color white}Name$alignr CPU ${font NotoSansMono Nerd Font:size=11,5}๏คž 
$font$color${top name 1}${alignr}${top cpu 1} %  
${top name 2}${alignr}${top cpu 2} %  
${top name 3}${alignr}${top cpu 3} %  
${top name 4}${alignr}${top cpu 4} %  
${top name 5}${alignr}${top cpu 5} %  
]]
2 Likes

fresh template:

conkyrc
conky.config = {
  alignment = 'middle_right',
  background = true,
  border_width = 0,
  cpu_avg_samples = 2,
  default_color = 'white',
  default_outline_color = 'grey',
  default_shade_color = 'black',
  draw_borders = false,
  draw_graph_borders = true,
  draw_outline = false,
  draw_shades = false,
  use_xft = true,
  font = 'NotoSansBold:size=11',
  gap_x = 5,
  gap_y = 0,
  minimum_height = 800,
  maximum_height = 900,
  minimum_width = 400,
  maximum_width = 400,
  net_avg_samples = 2,
  double_buffer = true,
  out_to_console = false,
  out_to_stderr = false,
  extra_newline = false,
  own_window = true,
  own_window_class = 'Conky',
  own_window_transparent = false,
  own_window_argb_visual = true,
  own_window_argb_value = 100,
  own_window_colour = '#0A0A0A',
  own_window_type = 'desktop',
  own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
  stippled_borders = 0,
  update_interval = 1,
  uppercase = false,
  use_spacer = 'none',
  show_graph_scale = false,
  show_graph_range = false
};

conky.text = [[
#Logo
${voffset -40}
${color cyan4}
${font NotoSansMono Nerd Font:size=13}$alignr๏Œ’ 
${voffset -40}
${font NotoSans:bold:size=22}$alignc${color cyan4}Manjaro ${execi 1000000 lsb_release -sc}
#System
${font NotoSansMono Nerd Font:size=18}${color orange}๏…ผ ${color silver}${stippled_hr 1}
${voffset -45}
$font$color $sysname $kernel $alignr $machine  
 Hostname: $alignr$nodename  
 Uptime: $alignr$uptime_short  
 System Updates: $alignr ${execpi 3600 checkupdates | wc -l}  Updates  
#CPU
${font NotoSansMono Nerd Font:size=18}${color orange}๏›น ${color silver}${stippled_hr 1}
${voffset -45}
$font$color ${execi 1000000 grep -m1 'model name' /proc/cpuinfo}  
${font NotoSansBold:size=11}${color darkgrey} Core 1 โ€” ${freq_g 1}Ghz $alignr Core 2 โ€” ${freq_g 2}Ghz  
 Core 3 โ€” ${freq_g 3}Ghz $alignr Core 4 โ€” ${freq_g 4}Ghz  
${font NotoSansMono Nerd Font:size=12}$color ๎ $font${acpitemp}ยฐC $alignr${cpu cpu0}%${font NotoSansMono Nerd Font:size=12} ๏คž 
${color silver}$cpubar
#MEMORY
${font NotoSansMono Nerd Font:size=18}${color orange}๎‰ฆ ${color silver}${stippled_hr 1}
${voffset -45}
$font$color Memory ${color darkgrey}${font NotoSansBold:size=11}$alignc $mem / $memmax $font$color$alignr$memperc%${font NotoSansMono Nerd Font:size=12} ๏คž 
${color silver}$membar
$font$color Swap ${color darkgrey}${font NotoSansBold:size=11}$alignc $swap / $swapmax $font$color$alignr$swapperc%${font NotoSansMono Nerd Font:size=12} ๏คž 
${color silver}$swapbar
#HDD
${font NotoSansMono Nerd Font:size=18}${color orange}๏‘ฒ ${color silver}${stippled_hr 1}
${voffset -45}
$font$color ${execi 1000000 lsblk -d -e 8 -o TRAN,REV,MODEL,REV,SERIAL -n}
${font NotoSansMono Nerd Font:size=12} ๎ $font${hwmon temp 1}ยฐC ${color darkgrey}${font NotoSansBold:size=11}$alignc $fs_used / $fs_size $font$color$alignr$fs_used_perc%${font NotoSansMono Nerd Font:size=12} ๏คž 
${color silver}$fs_bar
#NET
${font NotoSansMono Nerd Font:size=18}${color orange}๏˜— ${color silver}${stippled_hr 1}
${voffset -45}
$font$color ${execi 1000000 ip link show | awk '/state UP/ {print $2}' | sed 's/.$//'}$alignr${wireless_essid wlp3s0}  
${font NotoSansMono Nerd Font:size=12} ๏ฆฉ $font${tcp_portmon 1 65535 count} ${color darkgrey}${font NotoSansBold:size=11}$alignc ${downspeed wlp3s0} / ${upspeed wlp3s0} $font$color$alignr${wireless_bitrate wlp3s0}${font NotoSansMono Nerd Font:size=12} ๏ง„ 
${color silver}${wireless_link_bar wlp3s0}
#PROCESSES
${font NotoSansMono Nerd Font:size=18}${color orange}๏‚… ${color silver}${stippled_hr 1}
${voffset -45}
$font$color Name$alignr CPU ${font NotoSansMono Nerd Font:size=11}๏คž 
${font NotoSansBold:size=11}${color darkgrey} ${top name 1}${alignr}${top cpu 1} %  
 ${top name 2}${alignr}${top cpu 2} %  
 ${top name 3}${alignr}${top cpu 3} %  
${voffset -10}
$font$color Name$alignr MEM ${font NotoSansMono Nerd Font:size=11}๏คž 
${font NotoSansBold:size=11}${color darkgrey} ${top_mem name 1}${alignr}${top_mem mem 1} %  
 ${top_mem name 2}${alignr}${top_mem mem 2} %  
 ${top_mem name 3}${alignr}${top_mem mem 3} %  
]]
2 Likes

SysInfo.conkyrc
conky.config = {
  alignment = 'top_right',
  background = true,
  border_width = 0.5,
  cpu_avg_samples = 4,
  default_color = 'white',
  default_outline_color = 'grey',
  default_shade_color = 'black',
  draw_borders = true,
  draw_graph_borders = true,
  draw_outline = false,
  draw_shades = false,
  use_xft = true,
  font = 'OpenSans:size=10',
  gap_x = 1,
  gap_y = 0,
  maximum_width = 240,
  minimum_height = 5,
  minimum_width = 240,
  net_avg_samples = 2,
  double_buffer = true,
  out_to_console = false,
  out_to_stderr = false,
  extra_newline = false,
  own_window = true,
  own_window_colour = '000000',
  own_window_class = 'Conky',
  own_window_argb_visual = true,
  own_window_type = 'desktop',
  own_window_transparent = true,
  own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
  stippled_borders = 0,
  update_interval = 1,
  uppercase = false,
  use_spacer = 'none',
  show_graph_scale = false,
  show_graph_range = false
};

conky.text = [[
${font MesloLGS NF:bold:size=18}$alignc${color Lime}๏Œ’ Manjaro ${execi 100000 lsb_release -sc}
${voffset -90} 
${color white}
${font}
#System
${font MesloLGS NF:size=20}${color Tan1}๏Œš ${voffset -5}${font OxygenSans:bold:size=11}${color Tan1}SYSTEM ${color White}${hr 2}
$alignc${font OpenSans:bold:size=10}${color White}$sysname $kernel ${font}
Hostname: $alignr${nodename}
Uptime: $alignr${uptime}
System Updates: $alignr ${execpi 3600 checkupdates | wc -l} Updates
Battery: $alignr ${battery_time BAT1}  ${battery_percent BAT1}%
#CPU
${font MesloLGS NF:size=20}${color Tan1}๏กš ${voffset -5}${font OxygenSans:bold:size=11}${color Tan1}CPU ${color White}${hr 2}
$alignc${font OpenSans:bold:size=10}${color White}CPU Usage: ${cpu cpu0}%   ${font MesloLGS NF:bold:size=10}๎:${font OpenSans:bold:size=10}${hwmon 4 temp 1}ยฐC
$font${color White}${cpubar cpu1 6,54} ${freq_g 1}GHz ${alignr}${cpubar cpu2 6,54} ${freq_g 2}GHz${alignr}
${cpubar cpu3 6,54} ${freq_g 3}GHz ${alignr}${cpubar cpu4 6,54} ${freq_g 4}GHz${alignr}
${cpubar cpu5 6,54} ${freq_g 5}GHz ${alignr}${cpubar cpu6 6,54} ${freq_g 6}GHz${alignr}
${cpubar cpu7 6,54} ${freq_g 7}GHz ${alignr}${cpubar cpu8 6,54} ${freq_g 8}GHz${alignr}
#GPU
${font MesloLGS NF:size=20}${color Tan1}๏คพ ${voffset -5}${font OxygenSans:bold:size=11}${color Tan1}GPU ${color White}${hr 2}
${font}${color White}GPU Usage: ${execi 2 cat /sys/class/drm/card0/device/gpu_busy_percent}% ${alignr}${color white}GPU clk:${color} ${execi 5 grep -Po '\d+:\s\K(\d+)(?=.*\*$)' /sys/class/drm/card0/device/pp_dpm_sclk}MHz${font}
${execigraph 2 "cat /sys/class/drm/card0/device/gpu_busy_percent" 20,240 2980b9 e74c3c}
${color white}MEM Usage: ${color}${execi 2 numfmt --to=iec < /sys/class/drm/card0/device/mem_info_vram_used} ${alignr}${color white}MEM clk:${color} ${execi 5 grep -Po '\d+:\s\K(\d+)(?=.*\*$)' /sys/class/drm/card0/device/pp_dpm_mclk}MHz
#MEMORY
${font MesloLGS NF:size=20}${color Tan1}๎‰ฆ ${voffset -5}${font OxygenSans:bold:size=11}${color Tan1}MEMORY ${color White}${hr 2}
$font${color White}MEM $alignc $mem / $memmax $alignr $memperc%
$membar
$font${color White}SWAP $alignc $swap / $swapmax $alignr $swapperc%
$swapbar
#HDD
${font MesloLGS NF:size=20}${color Tan1}๏‚ฎ ${voffset -5}${font OxygenSans:bold:size=11}${color Tan1}SSD ${color White}${hr 2}
$font${color White}Boot $alignc ${fs_used /boot} / ${fs_size /boot} $alignr ${fs_used_perc /boot}%
${fs_bar /boot}
$font${color White}Root $alignc ${fs_used /} / ${fs_size /} $alignr ${fs_used_perc /}%
${fs_bar /}
$font${color White}Home $alignc ${fs_used /home} / ${fs_size /home} $alignr ${fs_used_perc /home}%
${fs_bar /home}
#TOP PROCESSES
${font MesloLGS NF:size=20}${color Tan1}๏‘ฉ ${voffset -5}${font OxygenSans:bold:size=11}${color Tan1}TOP PROCESSES ${color White}${hr 2}
${color White}$font${top name 1}${alignr}${top cpu 1} %
$font${top name 2}${alignr}${top cpu 2} %
$font${top name 3}${alignr}${top cpu 3} %
$font${top name 4}${alignr}${top cpu 4} %
#$font${top name 5}${alignr}${top cpu 5} %
#NETWORK WLAN0
${if_existing /proc/net/route wlan0}${font MesloLGS NF:size=20}${color Tan1}๏ชจ ${voffset -5}${font OxygenSans:bold:size=11}${color Tan1}NETWORK ${color White}${hr 2}
$font${color White}${wireless_essid wlan0} Quality: $alignr ${wireless_link_qual_perc wlan0}%
${wireless_link_bar wlan0}
$font${color White}Local IP: $alignr ${addrs wlan0}
Download: ${downspeed wlan0}/s ${alignr}Total: ${totaldown wlan0}
${color}${downspeedgraph wlan0 20,240 2980b9 e74c3c}
Upload: ${upspeed wlan0}/s ${alignr}Total: ${totalup wlan0}
${color}${upspeedgraph wlan0 20,240 2980b9 e74c3c}
${voffset -10}${color Tan1}Inbound:${color white}${tcp_portmon 1 32767 count}${color Tan1}  Outbound:${color white}${tcp_portmon 32768 61000 count}${alignr}${color Tan1}All:${color white}${tcp_portmon 1 65535 count}
#NETWORK ETH0
${else}${if_existing /proc/net/route eth0}${font MesloLGS NF:size=20}${color Tan1}๏›ฟ ${voffset -5}${font OxygenSans:bold:size=11}${color Tan1}NETWORK ${color White}${hr 2}
$font${color White}Interface: $alignr eth0
$font${color White}Local IP: $alignr ${addrs eth0}
${hr 2}
Download: ${downspeed eth0}/s ${alignr}Total: ${totaldown eth0}
${color}${downspeedgraph eth0 20,240 2980b9 e74c3c}
Upload: ${upspeed eth0}/s ${alignr}Total: ${totalup eth0}
${color}${upspeedgraph eth0 20,240 2980b9 e74c3c}
${voffset -10}${color Tan1}Inbound:${color white}${tcp_portmon 1 32767 count}${color Tan1}  Outbound:${color white}${tcp_portmon 32768 61000 count}${alignr}${color Tan1}All:${color white}${tcp_portmon 1 65535 count}${endif}${endif}
]];
Weather.conkyrc
conky.config = {
    background = true,
    use_xft = true,
    update_interval = 1,    
    own_window_class = 'Conky',
    own_window = true,
    own_window_colour = '000000',
    own_window_type = 'desktop',
    own_window_transparent = true,
    own_window_argb_visual = true,
    own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
    alignment = 'bottom_left',
    double_buffer = true,
    minimum_width = 220,
    minimum_height = 170,
    draw_shades = false,
    gap_x = 3,
    gap_y = 25,
    uppercase = true,
    font = 'OpenSans:size=10',
};

conky.text = [[
#Clima
${font MesloLGS NF:size=15}${color Tan1}๎ˆ  ${font OxygenSans:bold:size=11}${color Tan1}WEATHER ${color White}${hr 2}
${font MesloLGS NF:size=10}${texeci 1800 curl -s https://wttr.in/Cabo%20Rojo?u0T&lang=en | sed -n '3,7{s/\d27\[[0-9;]*m//g;s/^..//;s/ *$//;p}'}
]]
Calendar.conkyrc
conky.config = {
    background = true,
    use_xft = true,
    update_interval = 1,   
    own_window_class = 'Conky',
    own_window = true,
    own_window_colour = '000000',
    own_window_type = 'desktop',
    own_window_transparent = true,
    own_window_argb_visual = true,
    own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
    alignment = 'top_left',
    double_buffer = true,
    minimum_width = 220,
    minimum_height = 5,
    draw_shades = false,
    gap_x = 3,
    gap_y = 1,
    -- no_buffers = yes,
    uppercase = true,
    default_color = 'a8a8a8',
    -- default_shade_color = 'darkgray',
    -- default_outline_color = 'darkgray',

    -- color0 = 'orange', -- naranja
    --color1 = '00ff55', --verde encendido
    --color2 = '0099ff', --azul celeste
    --color3 = '99999f', --gris
    --color4 = 'f4f137', --amarillo
    --color5 = 'f81d1d', --rojo
    --color7 = '35bf5c', -- verde Manjaro
    --color8 = '4285F4', -- azul

    color1 = '#ffffff', -- # Month color
    color2 = 'Lime', -- # Year  color
    color3 = '#004F00', -- # Weekdays lived color
    color4 = 'cornsilk', -- # Current weekday color
    color5 = 'Lime', -- # Weekdays yet to come color
    color6 = '666666', -- # Days of month lived color
    color7 = 'Lime', -- # Current day color
    color8 = 'darkorange', --# Days yet to come color
    color9 = 'white',
    color0 = '',

    font = 'OpenSans:size=10',
};

conky.text = [[
${font MesloLGS NF:size=15}${color Tan1}๏ณ ${font OxygenSans:bold:size=11}${color Tan1}Calendar ${color White}${hr 2}
${voffset 10}${font LCD2:size=45}${alignc}${color2}${time %Y}
${voffset -40}${font LCD2:size=12}${alignc}${color9}semana ${color7}${time %U}${color9} dia ${color7}${time %j}${color9}${font LCDMono:size=18}
${voffset -25}${color9}${hr 2}
${alignc}${font Courier New:bold:size=16}${voffset -15}${color1}${time %B}${voffset -35}
${voffset 25}${color9}${stippled_hr}

${font Courier New:bold:size=12}${voffset -20}${execp TODAY=`date +%_d`; cal | tail -n+2 | sed \
-e '1 s:.*:\${color3}&\${color6}:' \
-e '1 s:'"$(date +%a |cut -c 1-2)"':\${color4}&\${color5}:' \
-e '0,/'"$TODAY"'/{s/'"$TODAY"'/\${color7}'"$TODAY"'\${color9}/}'}# 1st -e = days of week, 2nd = current day of week, 3rd = current day of month
]]
1 Like

Aw i really wanted to use this one, it looks amazing but the python script to create the config didnโ€™t work for me. Just spits out errors about being unable to open some file and int object having no replace attribute. :frowning:

I had a pretty decent conky before that was self made but I lost it when my filesystem got corrupted during a shrink a while back, canโ€™t believe i forgot to back it up.

(Edit)

This is what Iโ€™m using now

Itโ€™s a slightly modified version of seamod.

conkyrc.lua
-----------------------------------------------------------------------------
--                               conkyrc_seamod
-- Date    : 04/23/2016
-- Author  : SeaJey and Maxiwell
-- Conky   : >= 1.10
-- License : Distributed under the terms of GNU GPL version 2 or later
-----------------------------------------------------------------------------

conky.config = {

	background = true,
	update_interval = 1,

	cpu_avg_samples = 2,
	net_avg_samples = 2,
	temperature_unit = 'celsius',

	double_buffer = true,
	no_buffers = true,
	text_buffer_size = 2048,

	gap_x = 20,
	gap_y = 0,
	minimum_width = 300, minimum_height = 900,
	maximum_width = 350,

	own_window = true,
	own_window_type = 'normal',
	own_window_transparent = true,
	own_window_argb_visual = true,
	own_window_class = 'Conky',
	own_window_hints = 'undecorated,sticky,skip_taskbar,skip_pager,below',

	border_inner_margin = 0,
	border_outer_margin = 0,
	alignment = 'top_right',


	draw_shades = false,
	draw_outline = false,
	draw_borders = false,
	draw_graph_borders = false,

	override_utf8_locale = true,
	use_xft = true,
	font = 'caviar dreams:size=11',
	xftalpha = 0.5,
	uppercase = false,

-- Defining colors
	default_color = '#FFFFFF',
-- Shades of Gray
	color1 = '#EEEEEE',
	color2 = '#DDDDDD',
	color3 = '#AAAAAA',
-- Orange
	color4 = '#EF5A29',
-- Green
	color5 = '#77DD55',
-- Loading lua script for drawning rings
	lua_load = '~/.conky/mine/seamod_rings.lua',
	lua_draw_hook_pre = 'main',

};

--${offset 15}${font Ubuntu:size=11:style=normal}${color1}${pre_exec lsb_release -d | cut -f 2} - $sysname $kernel
conky.text = [[
${font Ubuntu:size=11:style=bold}${color4}$kernel${hr 2}
${offset 15}${font Ubuntu:size=11:style=normal}${color1}Uptime: ${color3}$uptime
${offset 15}${font Ubuntu:size=11:style=normal}${color1}Battery: ${color3}${battery_bar 20,120 BAT1}

# Showing CPU Graph
${voffset 30}
${offset 50}${font Ubuntu:size=11:style=bold}${color1}${acpitemp}ยฐC
${voffset -25}
${offset 90}${font Ubuntu:size=11:style=bold}${color5}CPU:${font Ubuntu:size=11:style=bold}${color1} Intel Core i7-8750H @ $freq_g GHz
# Showing TOP 5 CPU-consumers
${offset 105}${font Ubuntu:size=11:style=normal}${color4}${top name 1}${alignr}${top cpu 1}%
${offset 105}${font Ubuntu:size=11:style=normal}${color1}${top name 2}${alignr}${top cpu 2}%
${offset 105}${font Ubuntu:size=11:style=normal}${color2}${top name 3}${alignr}${top cpu 3}%
${offset 105}${font Ubuntu:size=11:style=normal}${color3}${top name 4}${alignr}${top cpu 4}%
${offset 105}${font Ubuntu:size=11:style=normal}${color3}${top name 5}${alignr}${top cpu 5}%

#Showing GPU
${voffset 30}
${offset 50}${font Ubuntu:size=11:style=bold}${color1}${nvidia temp}ยฐC
${voffset -30}
${offset 90}${font Ubuntu:size=11:style=bold}${color5}GPU:${font Ubuntu:size=11:style=bold}${color1} ${nvidia modelname}
${offset 105}${font Ubuntu:size=11:style=bold}${color4}Memory: ${color1}${nvidia memused}MiB / ${nvidia memavail}MiB

#Showing memory part with TOP 5
${voffset 65}
${offset 90}${font Ubuntu:size=11:style=bold}${color5}MEM:${font Ubuntu:size=11:style=bold}${color1} ${memeasyfree} / 32GiB
${offset 105}${font Ubuntu:size=11:style=normal}${color4}${top_mem name 1}${alignr}${top_mem mem_res 1}
${offset 105}${font Ubuntu:size=11:style=normal}${color1}${top_mem name 2}${alignr}${top_mem mem_res 2}
${offset 105}${font Ubuntu:size=11:style=normal}${color2}${top_mem name 3}${alignr}${top_mem mem_res 3}
${offset 105}${font Ubuntu:size=11:style=normal}${color3}${top_mem name 4}${alignr}${top_mem mem_res 4}
${offset 105}${font Ubuntu:size=11:style=normal}${color3}${top_mem name 4}${alignr}${top_mem mem_res 5}

# Network data (my desktop have only LAN). ETHERNET ring is mostly useless but looks pretty, main info is in the graphs
${voffset 25}
${offset 170}${font Ubuntu:size=10:style=bold}${color4}Lan IP: ${alignr}$color1${addr wlo1}
${offset 170}${font Ubuntu:size=10:style=bold}${color4}Ext IP: ${alignr}$color1${execi 600 wget -q -O /dev/stdout http://checkip.dyndns.org/ -o /dev/null | cut -d : -f 2- | cut -d \< -f -1}
${offset 180}${font Ubuntu:size=10:style=bold}${alignr}$color2${execi 600 wget -q -O /dev/stdout https://www.dnsleaktest.com/ -o /dev/null | grep from | grep -o '<p>.*<img' | grep -o '>.*<' | grep -oEi '[a-zA-Z0-9 ,]+'}

${voffset -100}
${offset 100}${font Ubuntu:size=11:style=bold}${color5}WiFi
${voffset 45}
${offset 15}${color1}${font ubuntu:size=10:style=bold}Up: ${alignr}${font Ubuntu:size=10:style=normal}$color2${upspeed wlo1} / ${totalup wlo1}
${offset 15}${upspeedgraph wlo1 40,320 4B1B0C FF5C2B 1280KiB -l}
${offset 15}${color1}${font Ubuntu:size=10:style=bold}Down: ${alignr}${font Ubuntu:size=10:style=normal}$color2${downspeed wlo1} / ${totaldown wlo1}
${offset 15}${downspeedgraph wlo1 40,320 324D23 77B753 1280KiB -l}


]];
seamod_rings.lua
--==============================================================================
--                            seamod_rings.lua
--
--  Date    : 05/02/2012
--  Author  : SeaJey
--  Version : v0.1
--  License : Distributed under the terms of GNU GPL version 2 or later
--
--  This version is a modification of lunatico_rings.lua wich is modification of conky_orange.lua
--
--  conky_orange.lua:    http://gnome-look.org/content/show.php?content=137503&forumpage=0
--  lunatico_rings.lua:  http://gnome-look.org/content/show.php?content=142884
--==============================================================================

require 'cairo'

gauge = {
{
    name='cpu',                    arg='cpu1',                  max_value=100,
    x=65,                          y=150,
    graph_radius=54,
    graph_thickness=5,
    graph_start_angle=180,
    graph_unit_angle=2.7,          graph_unit_thickness=2.7,
    graph_bg_colour=0xffffff,      graph_bg_alpha=0.1,
    graph_fg_colour=0xFFFFFF,      graph_fg_alpha=0.3,
    hand_fg_colour=0xEF5A29,       hand_fg_alpha=1.0,
    txt_radius=0,
    txt_weight=0,                  txt_size=9.0,
    txt_fg_colour=0xEF5A29,        txt_fg_alpha=1.0,
    graduation_radius=28,
    graduation_thickness=0,        graduation_mark_thickness=1,
    graduation_unit_angle=27,
    graduation_fg_colour=0xFFFFFF, graduation_fg_alpha=0.3,
    caption='',
    caption_weight=1,              caption_size=9.0,
    caption_fg_colour=0xFFFFFF,    caption_fg_alpha=0.3,
},
{
    name='cpu',                    arg='cpu2',                  max_value=100,
    x=65,                          y=150,
    graph_radius=48,
    graph_thickness=5,
    graph_start_angle=180,
    graph_unit_angle=2.7,          graph_unit_thickness=2.7,
    graph_bg_colour=0xffffff,      graph_bg_alpha=0.1,
    graph_fg_colour=0xFFFFFF,      graph_fg_alpha=0.3,
    hand_fg_colour=0xEF5A29,       hand_fg_alpha=1.0,
    txt_radius=0,
    txt_weight=0,                  txt_size=9.0,
    txt_fg_colour=0xEF5A29,        txt_fg_alpha=1.0,
    graduation_radius=28,
    graduation_thickness=0,        graduation_mark_thickness=1,
    graduation_unit_angle=27,
    graduation_fg_colour=0xFFFFFF, graduation_fg_alpha=0.3,
    caption='',
    caption_weight=1,              caption_size=9.0,
    caption_fg_colour=0xFFFFFF,    caption_fg_alpha=0.3,
},
{
    name='cpu',                    arg='cpu3',                  max_value=100,
    x=65,                          y=150,
    graph_radius=42,
    graph_thickness=5,
    graph_start_angle=180,
    graph_unit_angle=2.7,          graph_unit_thickness=2.7,
    graph_bg_colour=0xffffff,      graph_bg_alpha=0.1,
    graph_fg_colour=0xFFFFFF,      graph_fg_alpha=0.3,
    hand_fg_colour=0xEF5A29,       hand_fg_alpha=1.0,
    txt_radius=0,
    txt_weight=0,                  txt_size=9.0,
    txt_fg_colour=0xEF5A29,        txt_fg_alpha=1.0,
    graduation_radius=28,
    graduation_thickness=0,        graduation_mark_thickness=1,
    graduation_unit_angle=27,
    graduation_fg_colour=0xFFFFFF, graduation_fg_alpha=0.3,
    caption='',
    caption_weight=1,              caption_size=9.0,
    caption_fg_colour=0xFFFFFF,    caption_fg_alpha=0.3,
},
{
    name='cpu',                    arg='cpu4',                  max_value=100,
    x=65,                          y=150,
    graph_radius=36,
    graph_thickness=5,
    graph_start_angle=180,
    graph_unit_angle=2.7,          graph_unit_thickness=2.7,
    graph_bg_colour=0xffffff,      graph_bg_alpha=0.1,
    graph_fg_colour=0xFFFFFF,      graph_fg_alpha=0.3,
    hand_fg_colour=0xEF5A29,       hand_fg_alpha=1.0,
    txt_radius=0,
    txt_weight=0,                  txt_size=9.0,
    txt_fg_colour=0xEF5A29,        txt_fg_alpha=1.0,
    graduation_radius=28,
    graduation_thickness=0,        graduation_mark_thickness=1,
    graduation_unit_angle=27,
    graduation_fg_colour=0xFFFFFF, graduation_fg_alpha=0.3,
    caption='',
    caption_weight=1,              caption_size=9.0,
    caption_fg_colour=0xFFFFFF,    caption_fg_alpha=0.3,
},
{
    name='cpu',                    arg='cpu5',                  max_value=100,
    x=65,                          y=150,
    graph_radius=30,
    graph_thickness=5,
    graph_start_angle=180,
    graph_unit_angle=2.7,          graph_unit_thickness=2.7,
    graph_bg_colour=0xffffff,      graph_bg_alpha=0.1,
    graph_fg_colour=0xFFFFFF,      graph_fg_alpha=0.3,
    hand_fg_colour=0xEF5A29,       hand_fg_alpha=1.0,
    txt_radius=0,
    txt_weight=0,                  txt_size=9.0,
    txt_fg_colour=0xEF5A29,        txt_fg_alpha=1.0,
    graduation_radius=28,
    graduation_thickness=0,        graduation_mark_thickness=1,
    graduation_unit_angle=27,
    graduation_fg_colour=0xFFFFFF, graduation_fg_alpha=0.3,
    caption='',
    caption_weight=1,              caption_size=9.0,
    caption_fg_colour=0xFFFFFF,    caption_fg_alpha=0.3,
},
{
    name='cpu',                    arg='cpu6',                  max_value=100,
    x=65,                          y=150,
    graph_radius=24,
    graph_thickness=5,
    graph_start_angle=180,
    graph_unit_angle=2.7,          graph_unit_thickness=2.7,
    graph_bg_colour=0xffffff,      graph_bg_alpha=0.1,
    graph_fg_colour=0xFFFFFF,      graph_fg_alpha=0.3,
    hand_fg_colour=0xEF5A29,       hand_fg_alpha=1.0,
    txt_radius=0,
    txt_weight=0,                  txt_size=9.0,
    txt_fg_colour=0xEF5A29,        txt_fg_alpha=1.0,
    graduation_radius=28,
    graduation_thickness=0,        graduation_mark_thickness=1,
    graduation_unit_angle=27,
    graduation_fg_colour=0xFFFFFF, graduation_fg_alpha=0.3,
    caption='',
    caption_weight=1,              caption_size=9.0,
    caption_fg_colour=0xFFFFFF,    caption_fg_alpha=0.3,
},
{
    name='nvidia',                arg='gpuutil',                      max_value=100,
    x=65,                          y=360,
    graph_radius=54,
    graph_thickness=10,
    graph_start_angle=180,
    graph_unit_angle=2.7,          graph_unit_thickness=2.7,
    graph_bg_colour=0xffffff,      graph_bg_alpha=0.1,
    graph_fg_colour=0xFFFFFF,      graph_fg_alpha=0.3,
    hand_fg_colour=0xEF5A29,       hand_fg_alpha=1.0,
    txt_radius=42,
    txt_weight=0,                  txt_size=9.0,
    txt_fg_colour=0xEF5A29,        txt_fg_alpha=1.0,
    graduation_radius=23,
    graduation_thickness=0,        graduation_mark_thickness=2,
    graduation_unit_angle=27,
    graduation_fg_colour=0xFFFFFF, graduation_fg_alpha=0.5,
    caption='',
    caption_weight=1,              caption_size=10.0,
    caption_fg_colour=0xFFFFFF,    caption_fg_alpha=0.3,
},
{
    name='memperc',                arg='',                      max_value=100,
    x=65,                          y=510,
    graph_radius=54,
    graph_thickness=10,
    graph_start_angle=180,
    graph_unit_angle=2.7,          graph_unit_thickness=2.7,
    graph_bg_colour=0xffffff,      graph_bg_alpha=0.1,
    graph_fg_colour=0xFFFFFF,      graph_fg_alpha=0.3,
    hand_fg_colour=0xEF5A29,       hand_fg_alpha=1.0,
    txt_radius=42,
    txt_weight=0,                  txt_size=9.0,
    txt_fg_colour=0xEF5A29,        txt_fg_alpha=1.0,
    graduation_radius=23,
    graduation_thickness=0,        graduation_mark_thickness=2,
    graduation_unit_angle=27,
    graduation_fg_colour=0xFFFFFF, graduation_fg_alpha=0.5,
    caption='',
    caption_weight=1,              caption_size=10.0,
    caption_fg_colour=0xFFFFFF,    caption_fg_alpha=0.3,
},
{
    name='downspeedf',           arg='wlo1',                     max_value=100,
    x=65,                          y=700,
    graph_radius=54,
    graph_thickness=7,
    graph_start_angle=180,
    graph_unit_angle=2.7,          graph_unit_thickness=2.7,
    graph_bg_colour=0xffffff,      graph_bg_alpha=0.1,
    graph_fg_colour=0xFFFFFF,      graph_fg_alpha=0.3,
    hand_fg_colour=0xEF5A29,       hand_fg_alpha=0,
    txt_radius=64,
    txt_weight=0,                  txt_size=9.0,
    txt_fg_colour=0xEF5A29,        txt_fg_alpha=1.0,
    graduation_radius=28,
    graduation_thickness=0,        graduation_mark_thickness=1,
    graduation_unit_angle=27,
    graduation_fg_colour=0xFFFFFF, graduation_fg_alpha=0.3,
    caption='Down',
    caption_weight=1,              caption_size=12.0,
    caption_fg_colour=0xFFFFFF,    caption_fg_alpha=0.5,
},
{
    name='upspeedf',           arg='wlo1',                     max_value=100,
    x=65,                          y=700,
    graph_radius=42,
    graph_thickness=7,
    graph_start_angle=180,
    graph_unit_angle=2.7,          graph_unit_thickness=2.7,
    graph_bg_colour=0xffffff,      graph_bg_alpha=0.1,
    graph_fg_colour=0xFFFFFF,      graph_fg_alpha=0.3,
    hand_fg_colour=0xEF5A29,       hand_fg_alpha=0,
    txt_radius=30,
    txt_weight=0,                  txt_size=9.0,
    txt_fg_colour=0xEF5A29,        txt_fg_alpha=1.0,
    graduation_radius=28,
    graduation_thickness=0,        graduation_mark_thickness=1,
    graduation_unit_angle=27,
    graduation_fg_colour=0xFFFFFF, graduation_fg_alpha=0.3,
    caption='Up',
    caption_weight=1,              caption_size=12.0,
    caption_fg_colour=0xFFFFFF,    caption_fg_alpha=0.5,
},
}

-- converts color in hexa to decimal
function rgb_to_r_g_b(colour, alpha)
    return ((colour / 0x10000) % 0x100) / 255., ((colour / 0x100) % 0x100) / 255., (colour % 0x100) / 255., alpha
end

-- convert degree to rad and rotate (0 degree is top/north)
function angle_to_position(start_angle, current_angle)
    local pos = current_angle + start_angle
    return ( ( pos * (2 * math.pi / 360) ) - (math.pi / 2) )
end


-- displays gauges
function draw_gauge_ring(display, data, value)
    local max_value = data['max_value']
    local x, y = data['x'], data['y']
    local graph_radius = data['graph_radius']
    local graph_thickness, graph_unit_thickness = data['graph_thickness'], data['graph_unit_thickness']
    local graph_start_angle = data['graph_start_angle']
    local graph_unit_angle = data['graph_unit_angle']
    local graph_bg_colour, graph_bg_alpha = data['graph_bg_colour'], data['graph_bg_alpha']
    local graph_fg_colour, graph_fg_alpha = data['graph_fg_colour'], data['graph_fg_alpha']
    local hand_fg_colour, hand_fg_alpha = data['hand_fg_colour'], data['hand_fg_alpha']
    local graph_end_angle = (max_value * graph_unit_angle) % 360

    -- background ring
    cairo_arc(display, x, y, graph_radius, angle_to_position(graph_start_angle, 0), angle_to_position(graph_start_angle, graph_end_angle))
    cairo_set_source_rgba(display, rgb_to_r_g_b(graph_bg_colour, graph_bg_alpha))
    cairo_set_line_width(display, graph_thickness)
    cairo_stroke(display)

    -- arc of value
    local val = value % (max_value + 1)
    local start_arc = 0
    local stop_arc = 0
    local i = 1
    while i <= val do
        start_arc = (graph_unit_angle * i) - graph_unit_thickness
        stop_arc = (graph_unit_angle * i)
        cairo_arc(display, x, y, graph_radius, angle_to_position(graph_start_angle, start_arc), angle_to_position(graph_start_angle, stop_arc))
        cairo_set_source_rgba(display, rgb_to_r_g_b(graph_fg_colour, graph_fg_alpha))
        cairo_stroke(display)
        i = i + 1
    end
    local angle = start_arc

    -- hand
    start_arc = (graph_unit_angle * val) - (graph_unit_thickness * 2)
    stop_arc = (graph_unit_angle * val)
    cairo_arc(display, x, y, graph_radius, angle_to_position(graph_start_angle, start_arc), angle_to_position(graph_start_angle, stop_arc))
    cairo_set_source_rgba(display, rgb_to_r_g_b(hand_fg_colour, hand_fg_alpha))
    cairo_stroke(display)

    -- graduations marks
    local graduation_radius = data['graduation_radius']
    local graduation_thickness, graduation_mark_thickness = data['graduation_thickness'], data['graduation_mark_thickness']
    local graduation_unit_angle = data['graduation_unit_angle']
    local graduation_fg_colour, graduation_fg_alpha = data['graduation_fg_colour'], data['graduation_fg_alpha']
    if graduation_radius > 0 and graduation_thickness > 0 and graduation_unit_angle > 0 then
        local nb_graduation = graph_end_angle / graduation_unit_angle
        local i = 0
        while i < nb_graduation do
            cairo_set_line_width(display, graduation_thickness)
            start_arc = (graduation_unit_angle * i) - (graduation_mark_thickness / 2)
            stop_arc = (graduation_unit_angle * i) + (graduation_mark_thickness / 2)
            cairo_arc(display, x, y, graduation_radius, angle_to_position(graph_start_angle, start_arc), angle_to_position(graph_start_angle, stop_arc))
            cairo_set_source_rgba(display,rgb_to_r_g_b(graduation_fg_colour,graduation_fg_alpha))
            cairo_stroke(display)
            cairo_set_line_width(display, graph_thickness)
            i = i + 1
        end
    end

    -- text
    local txt_radius = data['txt_radius']
    local txt_weight, txt_size = data['txt_weight'], data['txt_size']
    local txt_fg_colour, txt_fg_alpha = data['txt_fg_colour'], data['txt_fg_alpha']
    local movex = txt_radius * math.cos(angle_to_position(graph_start_angle, angle))
    local movey = txt_radius * math.sin(angle_to_position(graph_start_angle, angle))
    cairo_select_font_face (display, "ubuntu", CAIRO_FONT_SLANT_NORMAL, txt_weight)
    cairo_set_font_size (display, txt_size)
    cairo_set_source_rgba (display, rgb_to_r_g_b(txt_fg_colour, txt_fg_alpha))
    if txt_radius > 0 then
        cairo_move_to (display, x + movex - (txt_size / 2), y + movey + 3)
        cairo_show_text (display, value)
        cairo_stroke (display)
    end

    -- caption
    local caption = data['caption']
    local caption_weight, caption_size = data['caption_weight'], data['caption_size']
    local caption_fg_colour, caption_fg_alpha = data['caption_fg_colour'], data['caption_fg_alpha']
    local tox = graph_radius * (math.cos((graph_start_angle * 2 * math.pi / 360)-(math.pi/2)))
    local toy = graph_radius * (math.sin((graph_start_angle * 2 * math.pi / 360)-(math.pi/2)))
    cairo_select_font_face (display, "ubuntu", CAIRO_FONT_SLANT_NORMAL, caption_weight);
    cairo_set_font_size (display, caption_size)
    cairo_set_source_rgba (display, rgb_to_r_g_b(caption_fg_colour, caption_fg_alpha))
    cairo_move_to (display, x + tox + 5, y + toy + 5)
    -- bad hack but not enough time !
    if graph_start_angle < 105 then
        cairo_move_to (display, x + tox - 30, y + toy + 1)
    end
    cairo_show_text (display, caption)
    cairo_stroke (display)
end


-- loads data and displays gauges
function go_gauge_rings(display)
    local function load_gauge_rings(display, data)
        local str, value = '', 0
        str = string.format('${%s %s}',data['name'], data['arg'])
        str = conky_parse(str)
        value = tonumber(str)
        draw_gauge_ring(display, data, value)
    end

    for i in pairs(gauge) do
        load_gauge_rings(display, gauge[i])
    end
end

-------------------------------------------------------------------------------
--                                                                         MAIN
function conky_main()
    if conky_window == nil then
        return
    end

    local cs = cairo_xlib_surface_create(conky_window.display, conky_window.drawable, conky_window.visual, conky_window.width, conky_window.height)
    local display = cairo_create(cs)

    local updates = conky_parse('${updates}')
    update_num = tonumber(updates)

    if update_num > 5 then
        go_gauge_rings(display)
    end

    cairo_surface_destroy(cs)
    cairo_destroy(display)

end

The reason Iโ€™m basing it off seamod is because when I want to set up a conky i generally like to have a base to work from, and seamodโ€™s somehow the only one that always works for me, meanwhile most of the conky configs I tried copy pasting from this thread didnโ€™t work at all.

Btw my cpu name is hardcoded, because I was lazy. Also because I care about efficiency, I donโ€™t want conky to consume too much cpu, this setup is fairly efficient, Iโ€™m sure it could be optimized further but only by making it less pretty.

One cool feature though is that I make it show the actual CPU frequency next to the cpu name. This is actually useful to me too, but for most people it wouldnโ€™t be i suppose.

1 Like