Up top right I have CPU/RAM and network, next to which is my clock that stays on top of ‘fullscreen’ windows, because I don’t ‘fullscreen’ them, I maximise them and they lose their borders:
Clock
conky.config = {
-- Conky settings
background = true,
update_interval = 5,
double_buffer = true,
no_buffers = true,
-- X11 backend
out_to_x = true,
out_to_wayland = false,
-- Window specs –
alignment = 'top_right',
gap_x = 275,
gap_y = 5,
own_window = true,
own_window_type = 'normal', -- was 'override'
own_window_transparent = false, -- critical: false when using ARGB
own_window_argb_visual = true,
own_window_argb_value = 0, -- 0 = fully transparent
own_window_colour = '000000', -- fallback colour (ignored if fully transparent)
own_window_hints = 'undecorated,sticky,skip_taskbar,skip_pager',
own_window_class = 'conkyclock',
-- Text
use_xft = true,
xftalpha = 0.75,
font = 'Sakana :size=21',
default_color = '#af00a5a5',
};
conky.text = [[${time %H:%M}]];
Network
conky.config = {
background = true,
update_interval = 1.8,
double_buffer = true,
no_buffers = true,
cpu_avg_samples = 2,
lua_load = '~/Dropbox/Admin/conky/speed.lua',
minimum_width = 250,
maximum_width = 250,
alignment = 'top_right',
gap_x = 0,
gap_y = 0,
own_window = true,
own_window_transparent = true,
own_window_argb_visual = true,
own_window_argb_value = 175,
own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
own_window_class = 'conky',
use_xft = true,
xftalpha = 0.5,
text_buffer_size = 256,
override_utf8_locale = true,
short_units = true,
pad_percents = 2,
top_name_width = 30,
show_graph_scale = true,
default_color = '#4b8c8777',
color1 = '#00ffff',
color2 = '#bee1ff',
color3 = '#fff493',
color4 = '#77ff55',
color5 = '#ffbebe',
};
conky.text = [[${font FiraCode Nerd Font :bold:size=12}${freq_g}GHz ${cpu cpu}% ${if_match ${cpu}<=15}${color #4b646362}${if_match ${cpu}>=15}${color #835c5c}${endif}${if_match ${cpu}>=75}${color #af3737}${endif} $alignr${cpubar 8,85}${color }
$mem ($memperc%) ${if_match $memperc >=95}${color #aa2522}${color #aaaa77}${if_match $memperc <60}${color #698369}${endif}$alignr${membar 8,85} ${color #b7c1ad}
${if_existing /proc/net/route enp3s0}${font FiraCode Nerd Font :bold:size=12} ${color #325dc893}${goto 5}${lua conky_download_speed}${alignr}${downspeedgraph enp3s0 32,85 337225 33dd16 100000000 -t}${font FiraCode Nerd Font :bold:size=2}
${font FiraCode Nerd Font :bold:size=12} ${color #c88d52}${goto 5}${lua conky_upload_speed}${alignr}${upspeedgraph enp3s0 42,85 efa644 ff5b00 62500000 -t}${color #55ffff} $font
${if_existing /proc/net/route enp4s0f3u2u1}${color #325dc893}enp4s0 - A15 Tethered
${downspeed enp4s0f3u2u1} ${goto 90} ${downspeedgraph enp4s0f3u2u1 16,85 337225 33dd16 125000000 -t}${color #c88d52}${upspeed enp4s0f3u2u1} ${goto 90} ${upspeedgraph enp4s0f3u2u1 16,85 efa644 ff5b00 80000KiB -t}${color #ffaaff}
${endif} ${if_existing /proc/net/route enp4s0f3u2u2}${color #325dc893}James iPhone
${downspeed enp4s0f3u2u2} ${goto 90} ${downspeedgraph enp4s0f3u2u2 16,85 337225 33dd16 14500000KiB -t}
${color #c88d52}${upspeed enp1s0f0u1} ${goto 90} ${upspeedgraph enp1s0f0u1 16,85 efa644 ff5b00 14500000KiB -t}${color #ffaaff}
${endif} ${if_existing /proc/net/route enp1s0f0u1}${color #325dc893}A15-USB
${downspeed enp1s0f0u1} ${goto 90} ${downspeedgraph enp1s0f0u1 16,85 337225 33dd16 14500000KiB -t}
${color #c88d52}${upspeed enp1s0f0u1} ${goto 90} ${upspeedgraph enp1s0f0u1 16,85 efa644 ff5b00 14500000KiB -t}${color #ffaaff}${endif}${endif}${font Race Sport :size=12}${goto 20}UTC: ${tztime UTC %H:%M} $alignr EST: ${tztime US/Eastern %H:%M}${font}]];
Bottom right is the root and mounted disks:
Disks
conky.config = {
-- Conky settings
background = true,
update_interval = 23,
double_buffer = true,
no_buffers = true,
-- Window specifications
alignment = 'br',
gap_x = 5,
gap_y = 5,
own_window = true,
own_window_transparent = false,
own_window_argb_visual = true,
own_window_argb_value = 55,
own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
own_window_class = 'conky',
-- Text
use_xft = true,
xftalpha = 0.1,
font = 'Noto Sans Mono :size=9',
font = 'Droid Sans Mono :size=10',
default_color = '#CDCDB0',
};
conky.text = [[${color #3da5ba}${fs_bar 4,200 /}${color #968ea1ff}
${font :bold:italic:size=9}${time %H:%M:%S}$font ${color #83a8ba}${goto 75}Evo ${goto 100}| ${fs_free_perc /}% free ${alignr}${fs_free /}${color #7199ba}
${if_existing /dev/sdc}${fs_bar 8,60 /mnt/W4} ${goto 75}W4 ${goto 100}| ${fs_free_perc /mnt/W4}% free ${alignr}${fs_free /mnt/W4}${endif}${color #9E9E9E}
${if_existing /dev/sdb}${fs_bar 8,60 /mnt/T4} ${goto 75}T4 ${goto 100}| ${fs_free_perc /mnt/T4}% free ${alignr}${fs_free /mnt/T4}${endif}${color #7199ba}
${if_existing /dev/sdd}${fs_bar 4,60 /mnt/W2} ${goto 75}W2 ${goto 100}| ${fs_free_perc /mnt/W2}% free ${alignr}${fs_free /mnt/W2}${endif}]];
It’s good to have confirmation what Activity you’re in, last snapshot and last backup too… need to tweak the Backup line maybe:
Information
conky.config = {
-- Conky settings
background = true,
update_interval = 30,
double_buffer = true,
no_buffers = true,
imlib_cache_size = 10,
-- ==> Window specifications <==
gap_x = 275,
gap_y = 5,
minimum_width = 200,
alignment = 'bottom_right',
own_window = true,
own_window_transparent = false,
own_window_argb_visual = true,
own_window_argb_value = 25,
own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
own_window_class = 'conky',
-- Text
use_xft = true,
xftalpha = 0.4,
font = 'Inter :size=10',
default_color = '#2ac1acc7',
color1 = '#55aaff', -- Purple
color3 = '#55ff7f', -- Red
color2 = '#e993ff' -- pp
};
conky.text = [[${execi 5 ~/Dropbox/Admin/Scripts/activity-name}
Uptime:$color1 ${alignr}$uptime_short $color
Backup:$color2 ${alignr}${execi 250 ls -r -l /mnt/W4/backintime/SteelLegend/ben/1/last_snapshot/ | sed -n '2p'| cut -c 29-41} $color
Wake${execi 3500 'sudo -S rtcwake -m no -l -t $(date +%s -d 'tomorrow 0557')}:${color3} ${alignr}${execi 3500 'echo masonnnn | sudo -S rtcwake -m show -l -v |rg alarm: | cut -c 10-30'} ]];
Processes only show for a couple of minutes, so I can call that up by running ‘again’ if CPU or RAM start to misbehave, so to speak.
Top graphs show Disk i/o
I quite like the fading contrast from Orange/Green going down the list.
Proc.conky
conky.config = {
-- Conky settings
background = true,
update_interval = 0.95,
double_buffer = true,
no_buffers = true,
imlib_cache_size = 10,
format_human_readable = yes,
temperature_unit = celsius,
-- Window specifications #
alignment = 'top_right',
gap_x = 12,
gap_y = 210,
minimum_width = 160, minimum_height = 0,
maximum_width = 180,
own_window = true,
own_window_transparent = false,
own_window_argb_visual = true,
own_window_argb_value = 100,
own_window_hints = 'below,undecorated,sticky,skip_taskbar,skip_pager',
-- Graphics settings #
draw_shades = false,
default_shade_color = '#484848',
draw_outline = false,
default_outline_color = '#AAAAAA',
draw_borders = false,
draw_graph_borders = true,
default_graph_width = 40, default_graph_height = 80,
show_graph_scale = false,
show_graph_range = false,
-- Text settings #
use_xft = true,
xftalpha = 0.1,
font = 'Arial Rounded MT Bold :size=9',
text_buffer_size = 256,
override_utf8_locale = true,
-- Useful shortenings #
short_units = true,
pad_percents = 2,
top_name_width = 30,
-- Color scheme #
default_color = '#999999',
-- iphone wlp0s20u12
total_run_times = 3960,
};
conky.text = [[SSD ${goto 50} T4 ${goto 95}W4 ${goto 140}W2
${diskiograph /dev/sda 24,42 BBA88C7 FF91C7 -t -l}-${diskiograph /dev/sdb 24,42 BBA88C7 FF91C70 -t -l}-${diskiograph /dev/sdc 24,42 BBA88C7 FF91C7 -t -l}-${diskiograph /dev/sdd 24,42 BBA88C7 FF91C7 -t -l}
${color #ff732d}CPU ${if_match ${cpu}<=15}${color #444444}${endif}${if_match ${cpu}>=75}${color #DD2522}${endif}${alignr}${cpu cpu}% ${alignr}${cpubar 8,90}
${color #f77234}${top name 1} ${goto 120}${top cpu 1}
${color #ae6540}${top name 2} ${goto 120}${top cpu 2}
${color #8c7860}${top name 3} ${goto 120}${top cpu 3}
${color #5f5549}${top name 4} ${goto 120}${top cpu 4}
${color #5f5549}${top name 5} ${goto 120}${top cpu 5}
${color #5f5549}${top name 6} ${goto 120}${top cpu 6}
${color #5f5549}${top name 7} ${goto 120}${top cpu 7}
${color #5f5549}${top name 8} ${goto 120}${top cpu 8}
${color #68964f}$hr
RAM:$memperc% ${alignr}${membar 8,90}${color }
${color #5a9638}${top_mem name 1} ${goto 120} ${top_mem mem_res 1}
${color #527840}${top_mem name 2} ${goto 120} ${top_mem mem_res 2}
${color #55644c}${top_mem name 3} ${goto 120} ${top_mem mem_res 3}
${color #434b3f}${top_mem name 4} ${goto 120} ${top_mem mem_res 4}
${color #434b3f}${top_mem name 5} ${goto 120} ${top_mem mem_res 5}
${color #434b3f}${top_mem name 6} ${goto 120} ${top_mem mem_res 6}
${color #434b3f}${top_mem name 7} ${goto 120} ${top_mem mem_res 7}
${color #434b3f}${top_mem name 8} ${goto 120} ${top_mem mem_res 8}
]];
Then, of course, we ,ist complete without a nice big reminder of what day it is, certainly before the morning coffee…
Date
conky.config = {
-- Conky settings
background = true,
update_interval = 5,
double_buffer = true,
no_buffers = true,
-- X11 backend
out_to_x = true,
out_to_wayland = false,
-- Window specs – **changed**
alignment = 'top_right',
gap_x = 275,
gap_y = 5,
own_window = true,
own_window_type = 'normal', -- was 'override'
own_window_transparent = false, -- critical: false when using ARGB
own_window_argb_visual = true,
own_window_argb_value = 0, -- 0 = fully transparent
own_window_colour = '000000', -- fallback colour (ignored if fully transparent)
own_window_hints = 'undecorated,sticky,skip_taskbar,skip_pager',
own_window_class = 'conkyclock',
-- Text
use_xft = true,
xftalpha = 0.75,
font = 'Sakana :size=21',
default_color = '#af00a5a5',
};
conky.text = [[${time %H:%M}]];
So all that’s left is a flexible script set to handle the things, like plugging in my son’s monitor…
#!/bin/bash
if pgrep -x "conky"; then
killall conky
else
# Choose clock config based on session type
if [[ "$XDG_SESSION_TYPE" == "x11" ]]; then
CLOCK_CONFIG="/home/ben/Dropbox/Admin/conky/c0-time-X11.conky"
else
# Default to the original (works on Wayland)
CLOCK_CONFIG="/home/ben/Dropbox/Admin/conky/c0-time.conky"
fi
# Launch the clock with the appropriate config
conky -c "$CLOCK_CONFIG" -o -x 290 -y 10
# The rest are unchanged
conky -c ~/Dropbox/Admin/conky/c0-date.conky -o -x 790 -y 5
conky -d -c ~/Dropbox/Admin/conky/c2-network.conky -o -x 5 -y 5
conky -d -c ~/Dropbox/Admin/conky/c4-disk.conky
conky -d -c ~/Dropbox/Admin/conky/c1-information.conky
fi
And this one launches all the ‘extras’ like ‘notes’ on keyboard shortcuts and processes:
#!/bin/bash
# /ben/Dropbox/Admin/conky/conky-again.sh
killall conky
sleep 1
#!/bin/bash
if pgrep -x "conky"; then
killall conky
else
# Choose clock config based on session type
if [[ "$XDG_SESSION_TYPE" == "x11" ]]; then
CLOCK_CONFIG="/home/ben/Dropbox/Admin/conky/c0-time-X11.conky"
else
# Default to the original (works on Wayland)
CLOCK_CONFIG="/home/ben/Dropbox/Admin/conky/c0-time.conky"
fi
# Launch the clock with the appropriate config
conky -c "$CLOCK_CONFIG" -o -x 290 -y 10
conky -c ~/Dropbox/Admin/conky/c0-date.conky -o -x 790 -y 5
conky -d -c ~/Dropbox/Admin/conky/c2-network.conky -o -x 5 -y 5
conky -d -c ~/Dropbox/Admin/conky/c3-proc.conky
conky -d -c ~/Dropbox/Admin/conky/c4-disk.conky
conky -d -c ~/Dropbox/Admin/conky/c5-notes.conky
conky -d -c ~/Dropbox/Admin/conky/c1-information.conky
fi