Of course
-- Conky, a system monitor https://github.com/brndnmtthws/conky
--
-- This configuration file is Lua code. You can write code in here, and it will
-- execute when Conky loads. You can use it to generate your own advanced
-- configurations.
--
-- Try this (remove the `--`):
--
-- print("Loading Conky config")
--
-- For more on Lua, see:
-- https://www.lua.org/pil/contents.html
--
-- Documentation
--
-- https://wiki.archlinux.org/title/conky
-- http://www.ifxgroup.net/conky.htm#cpu
-- https://man.archlinux.org/man/conky.1#hr
-- https://conky.sourceforge.net/variables.html
-- https://github.com/brndnmtthws/conky/wiki/Configs
conky.config = {
alignment = 'top_right',
background = false,
border_width = 1,
cpu_avg_samples = 2,
default_color = 'A020F0',
default_outline_color = 'white',
default_shade_color = 'white',
double_buffer = true,
draw_borders = false,
draw_graph_borders = true,
draw_outline = false,
draw_shades = false,
extra_newline = false,
font = 'DejaVu Sans Mono:size=10',
gap_x = 5,
gap_y = 0,
minimum_height = 5,
minimum_width = 5,
maximum_width = 290,
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 = 'dock',
own_window_hints = 'below,undecorated,sticky,skip_taskbar,skip_pager',
own_window_argb_visual = true,
own_window_transparent = true,
show_graph_range = false,
show_graph_scale = false,
stippled_borders = 0,
update_interval = 1.0,
uppercase = false,
use_spacer = 'none',
use_xft = true,
color0 = '8583F1', --Description
color1 = '8583F1', --Name PID MEM% CPU%
color2 = '844ABE', --Data
color3 = 'EF8485', --Title
font0 = 'DejaVu Sans Mono:size=8',
font1 = 'DejaVu Sans Mono:bold:size=9',
font2 = 'DejaVu Sans Mono:bold:size=11',
font3 = 'DejaVu Sans Mono:bold:italic:size=12',
}
conky.text = [[
${voffset 2}${alignc}${color2}${font3}${exec lsb_release -is}${font}
${color3}${font2}SYSTEM ${hr 4}${font}
${color0}Kernel: ${color2}${alignr}$sysname $kernel $machine
${color0}Host: ${color2}${alignr}$nodename
${color0}Uptime: ${color2}${alignr}$uptime
${color0}Battery: ${color2}${alignr}${battery}${if_empty ${battery_time}}${else} ${battery_time}${endif}
${color0}Processes: ${color2}${alignr}$running_processes/$processes
${color3}${font2}CPU ${hr 4}${font}
${color2}${font1}${alignc}${execi 86400 grep model /proc/cpuinfo | cut -d : -f2 | tail -1 | sed 's/\s//'}${font}
${cpugraph cpu% 50,0 A020F0 FF0000 -t}
${color0}CPU Usage:${color2} ${cpu cpu0}% ${alignr}${color0}CPU Temp:${color2} ${hwmon coretemp temp 1}°C
${color0}${alignc}Core 0 Core 1 Core 2 Core 3
${color0}${color2}${alignc}${font1}${freq_g 1}GHz ${freq_g 2}GHz ${freq_g 3}GHz ${freq_g 4}GHz${font}
${color0}${color2}${alignc}${cpubar cpu1 10,60} ${cpubar cpu2 10,60} ${cpubar cpu3 10,60} ${cpubar cpu4 10,60}
${color1}Name${alignr}PID CPU% MEM%
${color2}${top name 1}${alignr}${top pid 1} ${top cpu 1}${top mem 1}
${color2}${top name 2}${alignr}${top pid 2} ${top cpu 2}${top mem 2}
${color2}${top name 3}${alignr}${top pid 3} ${top cpu 3}${top mem 3}
${color2}${top name 4}${alignr}${top pid 4} ${top cpu 4}${top mem 4}
${color3}${font2}RAM ${hr 4}${font}
${color0}RAM Usage:${color2} $mem/$memmax - $memperc%
${membar 5}
${color0}Swap Usage:${color2} $swap/$swapmax - $swapperc%
${swapbar 5}
${color1}Name${alignr}PID CPU% MEM%
${color2}${top_mem name 1}${alignr}${top_mem pid 1} ${top_mem cpu 1}${top_mem mem 1}
${color2}${top_mem name 2}${alignr}${top_mem pid 2} ${top_mem cpu 2}${top_mem mem 2}
${color2}${top_mem name 3}${alignr}${top_mem pid 3} ${top_mem cpu 3}${top_mem mem 3}
${color2}${top_mem name 4}${alignr}${top_mem pid 4} ${top_mem cpu 4}${top_mem mem 4}
${color3}${font2}HDD ${hr 4}${font}
${color0}File System ${color2}${alignr}${fs_used /}/${fs_size /}
${fs_bar 5 /}
${color1}Name${alignr}PID Read Write
${color2}${offset 0}${top_io name 1}${offset 73}${offset -78}${top_io pid 1}${font0}${offset 14}${top_io io_read 1}${alignr}${top_io io_write 1}${font}
${color2}${offset 0}${top_io name 2}${offset 73}${offset -78}${top_io pid 2}${font0}${offset 14}${top_io io_read 2}${alignr}${top_io io_write 2}${font}
${color2}${offset 0}${top_io name 3}${offset 73}${offset -78}${top_io pid 3}${font0}${offset 14}${top_io io_read 3}${alignr}${top_io io_write 3}${font}
${color2}${offset 0}${top_io name 4}${offset 73}${offset -78}${top_io pid 4}${font0}${offset 14}${top_io io_read 4}${alignr}${top_io io_write 4}${font}
${color3}${font2}NETWORK ${hr 4}${font}
${color0}WiFi: ${color2}${alignr}${addr wlan0}
${color0}Up: ${color2}${upspeed wlan0}${color0}${goto 155}Down: ${color2}${downspeed wlan0}
${upspeedgraph wlan0 25,140 A020F0 FF0000 -t}${offset 10}${downspeedgraph wlan0 25,140 A020F0 FF0000 -t}
${voffset -5}${color0}Ethernet: ${color2}${alignr}${addr enp0s25}
${color0}Up: ${color2}${upspeed enp0s25}${color0}${goto 155}Down: ${color2}${downspeed enp0s25}
${upspeedgraph enp0s25 25,140 A020F0 FF0000 -t}${offset 10}${downspeedgraph enp0s25 25,140 A020F0 FF0000 -t}
]]
It’s not that I didn’t want to post config, it’s just that I’m pretty sure there are some things that could be done in a better way.