Conky - Show It! Share your Conky

conky-with-wallpaper
Topbar is polybar - not a part of the conky script.

Conky clock for FHD (1920x1080)

This is a multi part conky. It is using a lua script for the clock, a bash script for weather, and a wallpaper. The wallpaper can be found at https://www.gnome-look.org/p/1006079 - the result looks like this

The conky is created for 1920x1080. The location of your system panel may also influence on the placement of the conky - it may require additional tweaking for other screen sizes and other layours.

Save this file in ~/.config/conky as flatred-computer.conkyrc

Conky
conky.config = {
-- original author https://github.com/altinukshini/conky_blue
-- modified by linux-aarhus
-- BEGIN VARIABLES --
-- edit the templates to match your system
-- to change the weatherlocation see ~/.config/conky/README.md

-- location template
	template0 = 'LINUX AARHUS',

-- find your interface names
-- $ ip a | grep ' state UP' | cut -d' ' -f2 | cut -d':' -f1

-- ethernet interface template
	template1 = 'eno1',

-- wireless interface template
	template2 = 'wlp0s20f0u10',

-- END VARIABLES --
--
-- Conky settings #
	background = true,
	update_interval = 1,
	cpu_avg_samples = 2,
	net_avg_samples = 2,
	override_utf8_locale = true,
	double_buffer = true,
	no_buffers = true,
	text_buffer_size = 2048,
	format_human_readable = true,

-- Window specifications #
	own_window = true,
	own_window_type = 'override',
	own_window_transparent = true,
	own_window_hints = 'undecorated,sticky,skip_taskbar,skip_pager,below',
	own_window_argb_value = 0,
	own_window_colour = '#000000',
	border_inner_margin = 0,
	border_outer_margin = 0,
	minimum_width = 400, minimum_height = 600,
	maximum_width = 600,
	alignment = 'middle_middle',
	gap_y = 01,
	gap_x = -10,

-- Graphics settings #
	draw_shades = false,
	draw_outline = false,
	draw_borders = false,
	draw_graph_borders = false,

-- Text settings #
	use_xft = true,
	override_utf8_locale = true,
	font = 'DejaVu Sans Mono:style=Book:size=10',
	xftalpha = 0.8,
	uppercase = false,
	temperature_unit = 'celsius',
	default_color = '#FFFFFF',
	--color0 = '#ff3333',
	--color1 = '#818181',
	--color2 = '#1994D1',
	--color3 = '#1994D1',

-- Lua script
	lua_load = '~/.config/conky/clock/KvFlatRed.lua',
	lua_draw_hook_pre = 'conky_clock_rings',

};

conky.text = [[
### Time and data
${voffset 140}${font Radio Space:size=16}${color B90004}${time %A}${font}${color}${font Radio Space:size=38}${goto 167}${voffset -8} ${time %e}${font}
${font Radio Space:size=18}${voffset -30}${time %b}${font}${voffset -3}${font Radio Space:size=20}${time %Y}${font}${color B90004}${voffset 3} ${hr 2}
### Battery if present
${goto 209}${voffset 34}${if_match ${battery_percent} != 0}${color FFFFFF}${battery_percent}%${endif}
${goto 202}${voffset 25}${if_match ${battery_percent} != 0}${color B90004}Battery${endif}
### Weather
${font conkyweather:size=35}${color FFFFFF}${goto 200}${voffset 20}${execi 600 sed -n '2p' ${HOME}/.config/conky/accu_weather/weather}${color}${font}${font Radio Space:size=11}${color B90004}${goto 155}${alignr}${voffset -17}${template0}
${execi 600 bash ${HOME}/.config/conky/accu_weather/acc_rss}${font Radio Space:size=13}${goto 145}${alignr}${execi 600 sed -n '1p' ${HOME}/.config/conky/accu_weather/weather|awk '{print $2" "$3}'}${font}${color}
${goto -50}${color B90004}${hr 1}${color}
### System
${font :size=8}uptime${alignr}${uptime_short}
kernel${color}${alignr}${exec "uname -r | cut -d'-' -f1"} ${machine}${color}
os${alignr}${exec "lsb_release -d | awk '{print $2" "$3}'"}
### PUBLIC IP
${if_gw}wan ip${alignr}${execi 10 curl -s https://get.geojs.io/v1/ip}${else}  network down${endif}
### Ethernet interface in template1 is up
${voffset -5}${if_existing /proc/net/route ${template1}}
LAN${goto 40}ip${color} ${alignr}${addr ${template1}}
${goto 40}speed up${alignr}${upspeedf ${template1}}KiB
${goto 40}speed down${alignr}${downspeedf ${template1}}KiB
${goto 40}total up${alignr}${totalup ${template1}}
${goto 40}total down${alignr}${totaldown ${template1}}
${endif}
### Wireless interface template2 is up
${voffset -15}${if_existing /proc/net/route ${template2}}
WIFI${goto 40}ip${alignr}${addr ${template2}}
${goto 40}ssid${alignr}${wireless_essid ${template2}}
${goto 40}quality${goto 110}${wireless_link_bar 8,100
${goto 40}${template2}}${alignr}${wireless_link_qual_perc ${template2}}%
${goto 40}link up${alignr}${upspeedf ${template2}}KiB
${goto 40}link down${alignr}${downspeedf ${template2}}KiB
${goto 40}data up${alignr}${totalup ${template2}}
${goto 40}data down${alignr}${totaldown ${template2}}
${endif}
]];

Save this file in ~/.config/conky/clock as KvFlatRed.lua

Lua script
--[[
#
# Renamed and edited by linux-aarhus 2020
# Clock Rings by Linux Mint (2012) reEdited by Altin.
#
# https://github.com/altinukshini/conky_blue
#
# This script draws percentage meters as rings, and also draws clock hands if you want!
# It is fully customisable; all options are described in the script.
# This script is based off a combination of my clock.lua script and my rings.lua script.
#
# IMPORTANT: If you are using the 'cpu' function, it will cause a segmentation fault if it tries to draw a ring straight away.
#                     The if statement on line 324 uses a delay to make sure that this doesn't happen.
#                     It calculates the length of the delay by the number of updates since Conky started.
#                     Generally, a value of 5s is long enough, so if you update Conky every 1s,
#                     use update_num>5 in that if statement (the default).
#                     If you only update Conky every 2s, you should change it to update_num>3;
#                     conversely if you update Conky every 0.5s, you should use update_num>10.
#                     ALSO, if you change your Conky, is it best to use "killall conky; conky" to update it,
#                     otherwise the update_num will not be reset and you will get an error.
#
# To call this script in Conky, use the following in your conkyrc:
#
#   lua_load ~/.conky/clock01_rings.lua
#   lua_draw_hook_pre clock_rings
#
# Changelog:
#   * v1.0 -->  Original release (30.09.2009)
#   * v1.1p -->   Jpope edit londonali1010 (05.10.2009)
#   * vX 2011mint --> reEdit despot77 (18.02.2011)
#   * vX 2012 --> Altin reEdit (22.07.2012)
#   * Added weather function (Accu Weather)
#   * Added battery monitoring
#   * Syslog monitoring
#   * Running processes monitoring
#   * Rearanged rings
#   * Exctra network functions/monitoring
#   * Changed Fonts
]]

settings_table = {
    {
        -- Edit this table to customise your rings.
        -- You can create more rings simply by adding more elements to settings_table.
        -- "name" is the type of stat to display; you can choose from 'cpu', 'memperc', 'fs_used_perc', 'battery_used_perc'.
        name='time',
        -- "arg" is the argument to the stat type, e.g. if in Conky you would write ${cpu cpu0}, 'cpu0' would be the argument. If you would not use an argument in the Conky variable, use ''.
        arg='%I.%M',
        -- "max" is the maximum value of the ring. If the Conky variable outputs a percentage, use 100.
        max=12,
        -- "bg_colour" is the colour of the base ring.
        bg_colour=0xffffff,
        -- "bg_alpha" is the alpha value of the base ring.
        bg_alpha=0.15,
        -- "fg_colour" is the colour of the indicator part of the ring.
        fg_colour=0xB90004,
        -- "fg_alpha" is the alpha value of the indicator part of the ring.
        fg_alpha=0.3,
        -- "x" and "y" are the x and y coordinates of the centre of the ring, relative to the top left corner of the Conky window.
        x=100, y=290,
        -- "radius" is the radius of the ring.
        radius=50,
        -- "thickness" is the thickness of the ring, centred around the radius.
        thickness=5,
        -- "start_angle" is the starting angle of the ring, in degrees, clockwise from top. Value can be either positive or negative.
        start_angle=0,
        -- "end_angle" is the ending angle of the ring, in degrees, clockwise from top. Value can be either positive or negative, but must be larger than start_angle.
        end_angle=360
    },
    {
        name='battery_percent',
        arg='',
        max=100,
        bg_colour=0xffffff,
        bg_alpha=0.2,
        fg_colour=0xB90004,
        fg_alpha=0.8,
        x=222, y=110,
        radius=27,
        thickness=5,
        start_angle=-90,
        end_angle=270
    },
    {
        name='time',
        arg='%M.%S',
        max=60,
        bg_colour=0xffffff,
        bg_alpha=0.1,
        fg_colour=0xB90004,
        fg_alpha=0.4,
        x=100, y=290,
        radius=66,
        thickness=5,
        start_angle=0,
        end_angle=360
    },
    {
        name='time',
        arg='%S',
        max=60,
        bg_colour=0xffffff,
        bg_alpha=0.1,
        fg_colour=0xB90004,
        fg_alpha=0.6,
        x=100, y=290,
        radius=72,
        thickness=5,
        start_angle=0,
        end_angle=360
    },
    {
        name='time',
        arg='%d',
        max=31,
        bg_colour=0xffffff,
        bg_alpha=0.1,
        fg_colour=0xB90004,
        fg_alpha=0.8,
        x=100, y=290,
        radius=80,
        thickness=5,
        start_angle=-90,
        end_angle=90
    },
    {
        name='time',
        arg='%m',
        max=12,
        bg_colour=0xffffff,
        bg_alpha=0.1,
        fg_colour=0xB90004,
        fg_alpha=1,
        x=100, y=290,
        radius=86,
        thickness=5,
        start_angle=-90,
        end_angle=90
    },
}

-- Use these settings to define the origin and extent of your clock.

clock_r=65

-- "clock_x" and "clock_y" are the coordinates of the centre of the clock, in pixels, from the top left of the Conky window.

clock_x=100
clock_y=300

show_seconds=false -- Change to true if you want the seconds hand

require 'cairo'

function rgb_to_r_g_b(colour, alpha)
    return ((colour / 0x10000) % 0x100) / 255., ((colour / 0x100) % 0x100) / 255., (colour % 0x100) / 255., alpha
end

function window_background(colour, alpha)
    return ((colour / 0x10000) % 0x100) / 255., ((colour / 0x100) % 0x100) / 255., (colour % 0x100) / 255., alpha
end

function draw_ring(cr, t, pt)
    local w, h=conky_window.width, conky_window.height

    local xc, yc, ring_r, ring_w, sa, ea=pt['x'], pt['y'], pt['radius'], pt['thickness'], pt['start_angle'], pt['end_angle']
    local bgc, bga, fgc, fga=pt['bg_colour'], pt['bg_alpha'], pt['fg_colour'], pt['fg_alpha']

    local angle_0=sa*(2*math.pi/360)-math.pi/2
    local angle_f=ea*(2*math.pi/360)-math.pi/2
    local t_arc=t*(angle_f-angle_0)

    -- Draw background ring

    cairo_arc(cr, xc, yc, ring_r, angle_0, angle_f)
    cairo_set_source_rgba(cr, rgb_to_r_g_b(bgc, bga))
    cairo_set_line_width(cr, ring_w)
    cairo_stroke(cr)

    -- Draw indicator ring

    cairo_arc(cr, xc, yc, ring_r, angle_0, angle_0+t_arc)
    cairo_set_source_rgba(cr, rgb_to_r_g_b(fgc, fga))
    cairo_stroke(cr)
end

function draw_clock_hands(cr, xc, yc)
    local secs, mins, hours, secs_arc, mins_arc, hours_arc
    local xh, yh, xm, ym, xs, ys

    secs=os.date("%S")
    mins=os.date("%M")
    hours=os.date("%I")

    secs_arc=(2*math.pi/60)*secs
    mins_arc=(2*math.pi/60)*mins+secs_arc/60
    hours_arc=(2*math.pi/12)*hours+mins_arc/12

    -- Draw hour hand

    xh=xc+0.76*clock_r*math.sin(hours_arc)
    yh=yc-0.72*clock_r*math.cos(hours_arc)
    cairo_move_to(cr, xc, yc)
    cairo_line_to(cr, xh, yh)

    cairo_set_line_cap(cr, CAIRO_LINE_CAP_ROUND)
    cairo_set_line_width(cr, 5)
    cairo_set_source_rgba(cr, 1.0, 1.0, 1.0, 1.0)
    cairo_stroke(cr)

    -- Draw minute hand

    xm=xc+0.98*clock_r*math.sin(mins_arc)
    ym=yc-1.02*clock_r*math.cos(mins_arc)
    cairo_move_to(cr, xc, yc)
    cairo_line_to(cr, xm, ym)

    cairo_set_line_width(cr, 3)
    cairo_stroke(cr)

    -- Draw seconds hand

    if show_seconds then
        xs=xc+1.1*clock_r*math.sin(secs_arc)
        ys=yc-clock_r*math.cos(secs_arc)
        cairo_move_to(cr, xc, yc)
        cairo_line_to(cr, xs, ys)

        cairo_set_line_width(cr, 1)
        cairo_stroke(cr)
    end
end

function conky_clock_rings()
    local function setup_rings(cr, pt)
        local str=''
        local value=0

        str=string.format('${%s %s}', pt['name'], pt['arg'])
        str=conky_parse(str)

        value=tonumber(str)
        if value == 0 and pt['name'] == 'battery_percent' then
            pt['bg_alpha'] = 0
        end
        pct=value/pt['max']

        draw_ring(cr, pct, pt)
    end

    -- Check that Conky has been running for at least 5s

    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 cr=cairo_create(cs)

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

    if update_num>5 then
        for i in pairs(settings_table) do

            setup_rings(cr, settings_table[i])
        end
    end

    draw_clock_hands(cr, clock_x, clock_y)
end

Save the bash script in the folder ~/.config/conky/accu_weather/ as acc_rss - remember to make it executable.

$ chmod +x ~/.config/conky/accu_weather/acc_rss
accu_weather rss script
#!/bin/bash
# unknown author
# modified by linux-aarhus
#function: test_image
test_image () {
    case $1 in
     1|01)
       echo a
     ;;
     2|02)
       echo b
     ;;
     3|03)
       echo c
     ;;
     4|04)
       echo c
     ;;
     5|05)
       echo c
     ;;
     6|06)
       echo d
     ;;
     7|07)
       echo e
     ;;
     8|08)
       echo e
     ;;
     11)
       echo 0
     ;;
     12)
       echo h
     ;;
     13|14)
       echo g
     ;;
     15)
       echo l
     ;;
     16|17)
       echo k
     ;;
     18|26)
       echo i
     ;;
     19)
       echo p
     ;;
     20|21|23)
       echo o
     ;;
     22)
       echo r
     ;;
     24|31)
       echo E
     ;;
     25)
       echo u
     ;;
     29)
       echo v
     ;;
     30)
       echo 5
     ;;
     32)
       echo 6
     ;;
     33)
       echo A
     ;;
     34|36|37)
       echo B
     ;;
     35|38)
       echo C
     ;;
     39|40)
       echo G
     ;;
     41|42)
       echo K
     ;;
     43|44)
       echo O
     ;;
    esac
}

# PUT YOUR LOCATIONS PARAMETERS IN THE VARIABLES BELOW
REGION_ID="EUR"
COUNTRY_ID="DK"
LOCATION_KEY="124594"
LOCALIZED_NAME="AARHUS"

address="https://rss.accuweather.com/rss/liveweather_rss.asp?metric=1&locCode=${REGION_ID}|${COUNTRY_ID}|${LOCATION_KEY}|${LOCALIZED_NAME}"

killall wget
wget -O ~/.config/conky/accu_weather/weather_raw $address


if [[ -s ~/.config/conky/accu_weather/weather_raw ]]; then

    egrep 'Currently|Forecast<\/title>|_31x31.gif' ~/.config/conky/accu_weather/weather_raw > ~/.config/conky/accu_weather/weather
    sed -i '/AccuWeather\|Currently in/d' ~/.config/conky/accu_weather/weather
    sed -i -e 's/^[ \t]*//g' -e 's/<title>\|<\/title>\|<description>\|<\/description>//g' ~/.config/conky/accu_weather/weather
    sed -i -e 's/&lt;img src="/\n/g' ~/.config/conky/accu_weather/weather
    sed -i '/^$/d' ~/.config/conky/accu_weather/weather
    sed -i -e 's/_31x31.*$//g' -e 's/^.*\/icons\///g' ~/.config/conky/accu_weather/weather
    sed -i -e '1s/.$//' -e '3s/.$//' -e '6s/.$//' ~/.config/conky/accu_weather/weather
    for (( i=2; i<=8; i+=3 ))
        do
            im=$(sed -n ${i}p ~/.config/conky/accu_weather/weather)
            sed -i $i"s/^.*$/$(test_image $im)/" ~/.config/conky/accu_weather/weather
        done
fi

Run the conky using

$ conky -d -c ~/.config/conky/flatred-computer.conkyrc
Modify conky network info

Conky network

To make your IP address appear in Conky, you need to set the correct interface names.

nmcli | grep -e en -e wl

Then insert the interface names in the template1 and template2 and save the file

    -- ethernet
        template1 = 'eth0',
    -- wireless
        template2 = 'wlan0',
Modify the weather script to use your location

Conky Weather info


To change the displayed weather location edit the Conky config and change the template0 to print the desired text:

    -- location
        template0 = 'LINUX AARHUS',

To actual display your locations weather info - open the [AccuWeather.com][1] webpage and locate your city.

When you have your city’s weather forecast in your browser - go to the source of the page and locate the javascript variable named

    var currentLocation =

This variable hold the data needed for the rss link - which is parsed by the acc_rss script. The below codeblock is the datastructure for the city of Aarhus in Denmark.

	var currentLocation = {
		"administrativeArea":{
			"englishName":"Central Jutland",
			"id":"82",
			"localizedName":"Midtjylland"
		},
		"country":{
			"englishName":"Denmark",
			"id":"DK",
			"localizedName":"Danmark"
		},
		"englishName":"Aarhus",
		"gmtOffset":1.0,
		"timeZoneCode":"CET",
		"hasAlerts":true,
		"hasForecastConfidence":true,
		"hasMinuteCast":true,
		"hasRadar":true,
		"key":"124594",
		"lat":56.155,
		"localizedName":"Aarhus",
		"lon":10.173,
		"primaryPostalCode":"",
		"region":{
			"englishName":"Europe",
			"id":"EUR",
			"localizedName":"Europa"
		},
		"timeZone":"CET"
	};

From the datastructure you need the following values

    currentLocation.region.id = EUR
    currentLocation.country.id = DK
    currentLocation.key = 124594
    currentLocation.localizedName = AARHUS

Edit the file ~/.config/conky/accu_weather/acc_rss and insert the values from the data structure and save the file. You can wait for the result to show - or you can reload conky.

	# PUT YOUR LOCATIONS PARAMETERS IN THE VARIABLES BELOW
	REGION_ID="EUR"
	COUNTRY_ID="DK"
	LOCATION_KEY="124594"
	LOCALIZED_NAME="AARHUS"
5 Likes

Here is β€œShare your conky” :slight_smile:
Open new help request and post your conky file.
Do yo convert the file to the new syntax?

Long time since something was shown here. So I show my conky. It consists of the right and the left side.

st

5 Likes

Lots of info - and takes up nearly the real estate that mine does! :grin:

Yeah, I like it functional and minimalistic :upside_down_face: :wink:

A simple bottom-of-the-screen conky info bar:
my-conky

conky.conf

conky.config = {
    -- Window settings --
    own_window = true,
    own_window_argb_visual = true,
    own_window_argb_value = 0,
    own_window_class = 'Conky',
    own_window_colour ='020202',
    own_window_type = 'panel',

    -- Color, fonts --
    color1 = 'cyan',
    color2 = 'yellow',
    color3 = 'green',
    default_color = 'white',
    default_outline_color = 'white',
    default_shade_color = 'white',
    font = 'AurulentSansMono Nerd Font Mono:size=10.5',
    use_xft = true,

    -- Formatting --
    alignment = 'bl',
    background = false,
    border_width = 1,
    draw_borders = false,
    draw_graph_borders = false,
    draw_outline = false,
    draw_shades = false,
    extra_newline = false,
    format_human_readable = yes,
    gap_x = 5,
    gap_y = 3,
    minimum_width = 1910,
    use_spacer = 'none',

    -- Other settings --
    cpu_avg_samples = 2,
    double_buffer = true,
    net_avg_samples = 2,
    no_buffers = true,
    out_to_console = false,
    out_to_stderr = false,
    pad_percents = 2,
    short_units = true,
    top_cpu_separate = false,
    update_interval = 2.0,
    uppercase = false,
    xinerama_head = 0,

    -- Memory info --
    template0 = [[${exec awk '/^\1/ {printf( "%.3f", $2 / 1048576 )}' /proc/meminfo} GB${color}]]
};

conky.text = [[
# system type, kernel, uptime
 ${execpi 3600 lsb_release -is | tr -d "\""} \
[kernel ${color2}${kernel}${color}]\
# Nvidia information
${offset 30}Nvidia [${color1}${execpi 3600 nvidia-smi --id=0 --query-gpu=driver_version --format=csv,noheader}${color}]\
${offset 30}${execpi 3600 nvidia-smi --id=0 --query-gpu=name --format=csv,noheader | cut -d" " -f3-} \
[fan: ${color2}${nvidia fanspeed} RPM${color}, temp: ${color3}${nvidia temp}Β°C${color}, \
mem: ${color1}${exec nvidia-smi --id=0 --query-gpu=memory.used --format=csv,noheader,nounits}M\
${color}/${color2}${execpi 86400 nvidia-smi --id=0 --query-gpu=memory.total --format=csv,noheader,nounits}M${color}]\
${offset 30}${execpi 3600 nvidia-smi --id=1 --query-gpu=name --format=csv,noheader | cut -d" " -f3-} \
[temp: ${color3}${nvidia temp 1}Β°C${color}, \
mem: ${color1}${exec nvidia-smi --id=1 --query-gpu=memory.used --format=csv,noheader,nounits}M\
${color}/${color2}${execpi 86400 nvidia-smi --id=1 --query-gpu=memory.total --format=csv,noheader,nounits}M${color}]\
# CPU information
${offset 30}CPU: ${color1}${freq_g}Ghz${color}/${color2}${hwmon temp 2}Β°C${color}/${color3}${cpu cpu0}%${color}\
# RAM information
${offset 30}RAM: ${color1}${mem}${color}/${color2}${memmax}${color}\
# Current workspace
${alignr}${desktop}: ${color1}${desktop_name}${color} 
]]
2 Likes

I think you have some stuff I don’t :stuck_out_tongue:
Can you post the code?

1 Like

Shameless plug hereβ€”I’m made lots of Conky’sβ€”You can look at them here: https://www.pling.com/u/autocrosser1/products

I’ll modify any of them if you PM me.

1 Like

The link is showing access denied, can you update it?

I’ll do a generic linkβ€”Sorry!

1 Like

yeah old screenshot. Moved to AMD and I am too lazy to edit my conky scripts.
sysinfo

1 Like

Sure, but you’ll have to wait until tomorrow when I have access to this computer again.

btw… conky on laptop

510

Ok, it worked faster than expected. So, here we go…

For conky.left…
The geo/ip section is currently not functional. The provider I used before has been charged for some time and I have not yet found the time to find a data-saving alternative.
Furthermore, there is a detailed wireless section, which I have commented out because this computer has no wifi. But you will see that when you look over it.

conky.config={
alignment = 'top_left',
background = true,
color1 = 'FFFFFF',
color2 = '4D4D4D',
double_buffer = true,
draw_borders = false,
draw_graph_borders = false,
draw_outline = false,
draw_shades = false,
font = 'Source Code Pro Light:size=10',
format_human_readable = true,
gap_x = 5,
gap_y = 0,
minimum_height = 5,
minimum_width = 5,
net_avg_samples = 4,
own_window = true,
own_window_argb_visual = true,
own_window_class = "Conky",
own_window_hints = 'undecorated, below, sticky, skip_taskbar, skip_pager',
own_window_transparent = true,
own_window_type = 'background',
show_graph_range = false,
show_graph_scale = false,
update_interval = 1,
use_spacer = 'left',
use_spacer = 'right',
use_xft = true
};


conky.text = [[
${color2} β”‚
${color2} β”œβ”€β”€β”€${color1} system
${color2} β”‚     β”œβ”€β”€β”€${color1} distro          ${color2}[${color1} ${execi 3600 cat /etc/lsb-release | grep DISTRIB_ID= | cut -b 12-22} ${color2}]
${color2} β”‚     β”œβ”€β”€β”€${color1} kernel          ${color2}[${color1} $kernel ${color2}]
${color2} β”‚     β”œβ”€β”€β”€${color1} architecture    ${color2}[${color1} ${execi 3600 uname -m} ${color2}]
${color2} β”‚     β”œβ”€β”€β”€${color1} entropy         ${color2}[${color1} $entropy_perc% | $entropy_avail/$entropy_poolsize ${color2}]
${color2} β”‚     β”œβ”€β”€β”€${color1} uptime          ${color2}[${color1} $uptime ${color2}]
${color2} β”‚     └───${color1} packages
${color2} β”‚           β”œβ”€${color1} installed   ${color2}[${color1} ${execi 3600 pacman -Q | wc -l} ${color2}]
${color2} β”‚           └─${color1} to update   ${color2}[${color1} ${execi 3600 checkupdates | wc -l} ${color2}]
${color2} β”œβ”€β”€β”€${color1} accounts
${color2} β”‚     β”œβ”€β”€β”€${color1} user            ${color2}[${color1} $user_names ${color2}]
${color2} β”‚     β”œβ”€β”€β”€${color1} host            ${color2}[${color1} $nodename ${color2}]
${color2} β”‚     └───${color1} tty*            ${color2}[${color1} $user_terms ${color2}]
${color2} └───${color1} network
${color2}       β”œβ”€β”€β”€${color1} state           ${color2}[${color1} ${if_gw}${color 00CC00}ONLINE${else}${color CC0000}OFFLINE${endif} ${color2}]
${color2}       β”œβ”€β”€β”€${color1} ethernet        ${color2}[${color1} ${if_up enp4s0}${color 00CC00}UP${else}${color CC0000}DOWN${endif} ${color2}]
${color2}       β”œβ”€β”€β”€${color1} wireless        ${color2}[${color1} ${if_up wlp5s0}${color 00CC00}UP${else}${color CC0000}DOWN${endif}${color2} ${color2}]
#${color2}       β”‚     β”œβ”€${color1} ap mac      ${color2}[${color1} ${wireless_ap wlp5s0} ${color2}]
#${color2}       β”‚     β”œβ”€${color1} essid       ${color2}[${color1} ${wireless_essid wlp5s0} ${color2}]
#${color2}       β”‚     β”œβ”€${color1} channel     ${color2}[${color1} ${wireless_channel wlp5s0} ${color2}]
#${color2}       β”‚     β”œβ”€${color1} frequency   ${color2}[${color1} ${wireless_freq wlp5s0} ${color2}]
#${color2}       β”‚     β”œβ”€${color1} quality     ${color2}[${color1} ${wireless_link_qual_perc wlp5s0}% ${color2}]
#${color2}       β”‚     β”œβ”€${color1} mode        ${color2}[${color1} ${wireless_mode wlp5s0} ${color2}]
#${color2}       β”‚     └─${color1} bitrate     ${color2}[${color1} ${wireless_bitrate wlp5s0} ${color2}]
${color2}       β”œβ”€β”€β”€${color1} ipv4
${color2}       β”‚     β”œβ”€${color1} local       ${color2}[${color1} ${texeci 3600 ip addr show enp4s0 | grep "inet " | awk '{print $2}'} ${color2}]
${color2}       β”‚     β”œβ”€${color1} public      ${color2}[${color1} ${texeci 3600 curl -4 icanhazip.com} ${color2}]
${color2}       β”œβ”€β”€β”€${color1} ipv6
${color2}       β”‚     β”œβ”€${color1} local       ${color2}[${color1} ${texeci 3600 ip addr show enp4s0 | grep "inet6" | awk '{print $2}' | head -n1} ${color2}]
${color2}       β”‚     β”œβ”€${color1} public      ${color2}[${color1} ${texeci 3600 curl -6 icanhazip.com} ${color2}]
${color2}       β”œβ”€β”€β”€${color1} geo/ip
${color2}       β”‚     β”œβ”€${color1} hostname    ${color2}[${color1} ip5f5ae29b.dynamic.kabel-deutschland.de ${color2}]
${color2}       β”‚     β”œβ”€${color1} network     ${color2}[${color1} AS3209 Vodafone ${color2}]
${color2}       β”‚     β”œβ”€${color1} coordinates ${color2}[${color1} 53Β°04β€²30β€³ N ${color2}]${color2}[${color1} 8Β°48β€²27β€³ O ${color2}]
${color2}       β”‚     β”œβ”€${color1} city        ${color2}[${color1} Bremen ${color2}]
${color2}       β”‚     β”œβ”€${color1} state       ${color2}[${color1} Lower Saxony ${color2}]
${color2}       β”‚     β”œβ”€${color1} zip         ${color2}[${color1} 28195 ${color2}]
${color2}       β”‚     └─${color1} country     ${color2}[${color1} DE ${color2}]
${color2}       └───${color1} connection
${color2}             β”œβ”€${color1} latency     ${color2}[${color1} ${texeci 3600 ping -c 1 dismail.de | grep time | awk '{print $1}'}ms ${color2}]
${color2}             β”œβ”€${color1} downloaded  ${color2}[${color1} ${totaldown enp4s0} ${color2}]
${color2}             β”œβ”€${color1} uploaded    ${color2}[${color1} ${totalup enp4s0} ${color2}]
${color2}             β”œβ”€${color1} downspeed   ${color2}[${color1} ${color 00CC00}${downspeed enp4s0} ${color2}]
${color2}             β”‚  ${downspeedgraph enp4s0 14, 180 4D4D4D 1793D1}
${color2}             β”œβ”€${color1} upspeed     ${color2}[${color1}${color 00CC00} ${upspeed enp4s0} ${color2}]
${color2}             β”‚  ${upspeedgraph enp4s0 14, 180 4D4D4D 1793D1}
             β”‚
${color2}             └───${color1} ${texeci 5 netstat -tupen}
]]

conky.right

conky.config={
alignment = 'top_right',
background = true,
color1 = 'FFFFFF',
color2 = '4D4D4D',
cpu_avg_samples = 12,
double_buffer = true,
draw_borders = false,
draw_graph_borders = false,
draw_outline = false,
draw_shades = false,
font = 'Source Code Pro Light:size=10',
format_human_readable = true,
gap_x = 5,
gap_y = 0,
minimum_height = 5,
minimum_width = 5,
no_buffers = true,
own_window = true,
own_window_argb_visual = true,
own_window_class = "Conky",
own_window_hints = 'undecorated',
own_window_transparent = true,
own_window_hints = 'undecorated, below, sticky, skip_taskbar, skip_pager',
show_graph_range = false,
show_graph_scale = false,
update_interval = 1,
use_spacer = 'left',
use_spacer = 'right',
use_xft = true
};

conky.text = [[
${alignr}${color2} β”‚ 
${alignr}${color1} machine ${color2}──── 
${alignr}${color2}[${color1} xenox ${color2}]          ${color1} manufacturer ${color2}────     β”‚ 
${alignr}${color2}[${color1} LPCA ${color2}]           ${color1} model ${color2}────     β”‚     β”‚ 
${alignr}${color2}[${color1}${color 00CC00}${execi 5 sensors *-isa-0290 | grep "SYS2 Fan": | cut -b 12-17}${color 00CC00} rpm${color2}] ${color1}             fan ${color2}β”€β”€β”€β”˜     β”‚     β”‚ 
${alignr}${color1} board ${color2}────     β”‚ 
${alignr}${color2}[${color1} ${execi 86400 /usr/sbin/dmidecode -s baseboard-manufacturer} ${color2}]    ${color1} manufacturer ${color2}────     β”‚     β”‚ 
${alignr}${color2}[${color1} ${execi 86400 /usr/sbin/dmidecode -s baseboard-product-name} ${color2}]           ${color1} model ${color2}────     β”‚     β”‚ 
${alignr}${color2}[${color1} ${execi 86400 /usr/sbin/dmidecode -s bios-version} ${color2}]    ${color1} bios version ${color2}β”€β”€β”€β”˜     β”‚     β”‚ 
${alignr}${color1} processor ${color2}────     β”‚ 
${alignr}${color2}[${color1} ${execi 86400 /usr/sbin/dmidecode -s processor-manufacturer} ${color2}]    ${color1} manufacturer ${color2}────     β”‚     β”‚ 
${alignr}${color2}[${color1} ${execi 86400 /usr/sbin/dmidecode -s processor-family} ${color2}]         ${color1} product ${color2}────     β”‚     β”‚ 
${alignr}${color2}[${color1} ${execi 86400 /usr/sbin/dmidecode -s processor-version | awk '{print $3}'} ${color2}]           ${color1} model ${color2}────     β”‚     β”‚ 
${alignr}${color2}[${color1} ${execi 86400 /usr/sbin/dmidecode -s processor-frequency} ${color2}]       ${color1} frequency ${color2}β”€β”€β”€β”˜     β”‚     β”‚ 
${alignr}${color1} graphics ${color2}β”€β”€β”€β”˜     β”‚ 
${alignr}${color2}[${color1} ${execi 86400 lspci | grep "VGA" | awk '{print $4 " " $5}'} ${color2}]    ${color1} manufacturer ${color2}────           β”‚ 
${alignr}${color2}[${color1} ${execi 86400 lspci | grep "VGA" | awk '{print $7}'} ${color2}]       ${color1} code name ${color2}────           β”‚ 
${alignr}${color2}[${color1} ${execi 86400 lspci | grep "VGA" | awk -F"[][]" '{ print $2 }'} ${color2}]           ${color1} model ${color2}────           β”‚ 
${alignr}${color2}[${color1} ${execi 86400 lspci | grep "VGA" | awk -F"[()]" '{ print $2 }'} ${color2}]        ${color1} revision ${color2}────           β”‚ 
${alignr}${color2}[${color1} ${color 00CC00}${execi 60 nvidia-smi --query-gpu=temperature.gpu --format=csv,noheader}Β°C ${color2}]            ${color1} temp ${color2}────           β”‚ 
${alignr}${color2}[${color1} ${color 00CC00}${execi 60 nvidia-smi --query-gpu=memory.free --format=csv,noheader} ${color2}]      ${color1} nvram free ${color2}────           β”‚ 
${alignr}${color2}[${color1}${color 00CC00}${execi nvidia-smi -q | grep "Fan Speed" | cut -b 44-49}${color 00CC00} %${color2}] ${color1}             fan ${color2}β”€β”€β”€β”˜           β”‚ 
${alignr}${color1} cpu ${color2}──── 
${alignr}${color2}[${color1} ${freq cpu0} mHz ${color2}]${color1}                  clock ${color2}────     β”‚ 
${alignr}${color2}[${color1} ${color 00CC00}${execi 2 sensors k10temp-pci-00c3 | grep Tctl: | cut -b 16-17}Β°C ${color2}]            ${color1} temp ${color2}────     β”‚     β”‚ 
${alignr}${color2}[${color1}${color 00CC00}${execi 5 sensors *-isa-0290 | grep "CPU Fan:" | cut -b 12-17}${color 00CC00} rpm${color2}] ${color1}             fan ${color2}β”€β”€β”€β”˜     β”‚     β”‚ 
${alignr}${color1} utilization ${color2}────     β”‚ 
${alignr}${color2} β”Œβ”€${color1}cpu1${color2}─┬─${color1}cpu2${color2}─┬─${color1}cpu3${color2}─┬────     β”‚     β”‚ 
${alignr}${color2} β”œ[ ${color1}${cpu cpu1}% ${color2}]β”Ό[ ${color1}${cpu cpu2}% ${color2}]β”Ό[ ${color1}${cpu cpu3}% ${color2}]┼────     β”‚     β”‚ 
${alignr}${color2} β”œ[ ${color1}${cpu cpu4}% ${color2}]β”Ό[ ${color1}${cpu cpu5}% ${color2}]β”Ό[ ${color1}${cpu cpu6}% ${color2}]┼────     β”‚     β”‚ 
${alignr}${color2} └─${color1}cpu4${color2}─┴─${color1}cpu5${color2}─┴─${color1}cpu6${color2}─┴────     β”‚     β”‚ 
${alignr}${color2}    ${cpugraph cpu0 14, 220 4D4D4D 1793D1 .3 -l}β”€β”€β”€β”˜     β”‚     β”‚ 
${alignr}${color2}β”‚     β”‚ 
${alignr}${color1} processes ${color2}β”€β”€β”€β”˜     β”‚ 
${alignr}${color2}[${color1} $processes ${color2}]${color1}            total ${color2}────           β”‚ 
${alignr}${color2}[${color1} $running_threads ${color2}]${color1}   active threads ${color2}────           β”‚ 
${alignr}${color2}β”Œβ”€β”€β”€β”€β”€β”€β”€${color1}name${color2}───────┬───${color1}cpu${color2}──┬───${color1}mem${color2}──┬──${color1}pid${color2}──┬────           β”‚ 
${alignr}${color2}β”œ[${color1}${top name 1}${color2}]β”Ό[${color1}${top cpu 1}${color2}]β”Ό[${color1}${top mem 1}${color2}]β”Ό[${color1}${top pid 1}${color2}]┼────           β”‚ 
${alignr}${color2}β”œ[${color1}${top name 2}${color2}]β”Ό[${color1}${top cpu 2}${color2}]β”Ό[${color1}${top mem 2}${color2}]β”Ό[${color1}${top pid 2}${color2}]┼────           β”‚ 
${alignr}${color2}β”œ[${color1}${top name 3}${color2}]β”Ό[${color1}${top cpu 3}${color2}]β”Ό[${color1}${top mem 3}${color2}]β”Ό[${color1}${top pid 3}${color2}]β”Όβ”€β”€β”€β”˜           β”‚ 
${alignr}${color2}β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”˜               β”‚ 
${alignr}${color1} memory ${color2}──── 
${alignr}${color1} ram ${color2}────     β”‚ 
${alignr}${color2}[${color1}${color 00CC00} $memperc% ${color2}]${color1}      utilization ${color2}────     β”‚     β”‚ 
${alignr}${color2}[${color1}${color 00CC00} $mem ${color2}]${color1}        allocated ${color2}────     β”‚     β”‚ 
${alignr}${color2}[${color1} $memmax ${color2}]${color1}          maximum ${color2}────     β”‚     β”‚ 
${alignr}${color2}${memgraph 14, 220 4D4D4D 1793D1 .3 -l}β”€β”€β”€β”˜     β”‚     β”‚ 
${alignr}${color2}β”‚     β”‚ 
${alignr}${color1} swap ${color2}β”€β”€β”€β”˜     β”‚ 
${alignr}${color2}[${color1} $swapperc% ${color2}]${color1}      utilization ${color2}────           β”‚ 
${alignr}${color2}[${color1} $swap ${color2}]${color1}        allocated ${color2}────           β”‚ 
${alignr}${color2}[${color1} $swapmax ${color2}]${color1}          maximum ${color2}β”€β”€β”€β”˜           β”‚ 
${alignr}${color1} storage ${color2}β”€β”€β”€β”˜ 
${alignr}${color1}temp        used      total                   nvme ${color2}────       
${alignr}${color2}[ ${color1}${color 00CC00}${execi 5 sensors nvme-pci-0100 | grep Composite: | cut -b 16-22}${color2} ][${color1} ${fs_used /} / ${fs_size /}${color2} ]${color1}    /nvme3 ${color2}[${color1}root${color2}] ${color2}────     β”‚       
${alignr}${color2}[ ${color1}${color 00CC00}${execi 5 sensors nvme-pci-0100 | grep Composite: | cut -b 16-22}${color2} ][${color1} ${fs_used /home} / ${fs_size /home}${color2} ]${color1}    /nvme4 ${color2}[${color1}home${color2}] ${color2}────     β”‚       
${alignr}${color1}                sata ${color2}β”€β”€β”€β”˜       
${alignr}${color2}[${color1}${color 00CC00}${execi 5 hddtemp /dev/sda1 | cut -b 35-39}${color2}C ][${color1} ${fs_used /home/xenox/Data160} / ${fs_size /home/xenox/Data160}${color2} ]${color1}     /sda1 ${color2}[${color1}LDat${color2}] ${color2}────             
${alignr}${color2}[${color1}${color 00CC00}${execi 5 hddtemp /dev/sdb1 | cut -b 32-36}${color2}C ][${color1}${color1} ${fs_used /home/xenox/VM} / ${fs_size /home/xenox/VM}${color2} ]${color1}     /sdb1 ${color2}[${color1}ADat${color2}] ${color2}β”€β”€β”€β”˜             
]]

4 Likes

My first conky
image

6 Likes

I wish there was a drop-down conky for the top panel. I never look at my desktop cause I always got at least 2 browser windows open.

Endeavour Os Tree :enos_flag:

Code is ripped from our neighbor :smirk: https://forum.garudalinux.org/t/show-me-your-conky-setup/889/52

Original version: https://github.com/debianmain1/Conky-Debian-Slate

conky.config = {

	background = true,
	use_xft = true,
	font = 'monospace:size=8',
	xftalpha = 0.8,
	update_interval = 2,
	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 = '#263041',
--  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 = '#d8dee9',
	default_shade_color = 'gray',
	default_outline_color = 'black',
	alignment = 'top_right',
	gap_x = 5,
	gap_y = 0,

-- 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 = 400,
   minimum_height = 800,
   uppercase = true,

};

conky.text = [[
#leet chars: β”€β”€β””β””β”΄β”΄β”β”β”‚β”‚β”˜β”˜β”Œβ”Œβ”œβ”œβ”¬β”¬β”Όβ”Όβ”΄β”΄β”€β”€ β”‚β”‚ β–½β–Όβ–³β–²β–΅β–΄β–Ύβ–Ώ

${alignr}${offset -6}
${alignr}${offset -6}${execi 6000 lsb_release -d | grep 'Descr'|awk {'print $2 " " $3" " $4" " $5'}}
${alignr}${offset -6}└──────────┐
${alignr}${offset -6}< ${kernel} > Kernel ──   β”‚
${alignr}${offset -6}< ${uptime_short} > Uptime ──   β”‚
${alignr}${offset -6}< ${execi 14400 checkupdates | wc -l} > updates β”€β”˜   β”‚
${alignr}${offset -6}β”‚
${alignr}${offset -6}system ──
${alignr}${offset -6}< ${execi 6000 cat /proc/cpuinfo|grep 'model name'|sed -e 's/model name.*: //'| uniq | cut -c 1-39} > CPU ──   β”‚
${alignr}${offset -6}< ${freq_g} GHz (${cpu}%) > Usage ──   β”‚
${alignr}${offset -6}β”‚   β”‚   β”‚
${alignr}${offset -6}< $loadavg > load ──   β”‚   β”‚
${alignr}${offset -6}< ${top name 01} ${top cpu 1} > ──   β”‚   β”‚
${alignr}${offset -6}< ${top name 02} ${top cpu 2} > ──   β”‚   β”‚
${alignr}${offset -6}< ${top name 03} ${top cpu 3} > ──   β”‚   β”‚
${alignr}${offset -6}< ${top name 04} ${top cpu 4} > ──   β”‚   β”‚
${alignr}${offset -6}< ${top name 05} ${top cpu 5} > β”€β”˜   β”‚   β”‚
${alignr}${offset -6}β”‚   β”‚
${alignr}${offset -6}β”‚   β”‚
${alignr}${offset -6}Memory ──   β”‚
${alignr}${offset -6}< $memperc% > used ──   β”‚   β”‚
${alignr}${offset -6}< $mem/$memmax > ──   β”‚   β”‚
${alignr}${offset -6}< ${membar 5,120} > ──   β”‚   β”‚
${alignr}${offset -6}< ${top_mem name 1} ${top_mem mem_res 1} > ──   β”‚   β”‚
${alignr}${offset -6}< ${top_mem name 2} ${top_mem mem_res 2} > ──   β”‚   β”‚
${alignr}${offset -6}< ${top_mem name 3} ${top_mem mem_res 3} > ──   β”‚   β”‚
${alignr}${offset -6}< ${top_mem name 4} ${top_mem mem_res 4} > ──   β”‚   β”‚
${alignr}${offset -6}< ${top_mem name 5} ${top_mem mem_res 5} > β”€β”˜   β”‚   β”‚
${alignr}${offset -6}β”‚   β”‚
${alignr}${offset -6}Processes ──   β”‚
${alignr}${offset -6}< $processes > ─ < $running_processes > β”€β”˜   β”‚   β”‚
${alignr}${offset -6}β”‚   β”‚
${alignr}${offset -6}β”‚   β”‚
${alignr}${offset -6}Temperatures ──   β”‚
${alignr}${offset -6}< ${execi 5 sensors | grep Tctl: | cut -c 16-19}Β°C cpu ──   β”‚   β”‚
${alignr}${offset -6}< ${execi 5 sensors | grep edge: | cut -c 16-19} Β°C gpu ──   β”‚   β”‚
${alignr}${offset -6}< ${execi 5 sensors | grep Composite: | cut -c 16-19}Β°C ssd β”€β”˜   β”‚   β”‚
${alignr}${offset -6}β”‚   β”‚
${alignr}${offset -6}β”‚   β”‚
${alignr}${offset -6}Disk Usage β”€β”˜   β”‚
${alignr}${offset -6}< $diskio_read >  read ──       β”‚
${alignr}${offset -6}< $diskio_write > write ──       β”‚
${alignr}${offset -6}< $swap/$swapmax swap ──       β”‚
${alignr}${offset -6}< ${swapbar 5,120} > β”€β”˜     β”‚       β”‚
${alignr}${offset -6}< ${fs_used /}/${fs_size /} > /root ──       β”‚
${alignr}${offset -6}< ${fs_bar 5,120 /} > β”€β”˜     β”‚       β”‚
${alignr}${offset -6}< ${fs_used /mnt/wd1tb}/${fs_size /mnt/wd1tb} > /WD β”€β”˜       β”‚
${alignr}${offset -6}< ${fs_bar 5,120 /mnt/wd1tb} > β”€β”˜             β”‚
${alignr}${offset -6}β”‚
${alignr}${offset -6}Network β”€β”˜
${alignr}${offset -32}< $nodename > hostname ──
${alignr}${offset -32}< ${downspeed enp34s0} k/s > download ──
${alignr}${offset -32}< ${downspeedgraph enp34s0 12,120 136311 11B014} > β”€β”˜    β”‚
${alignr}${offset -32}< ${upspeed enp34s0} k/s >   upload β”€β”˜
${alignr}${offset -62}< ${upspeedgraph enp34s0 12,120 BA0B0B FC0707} > β”€β”˜
]];


5 Likes


That is my conky.

My conky.rc

    ${font Monospace:bold:size=25}${color #FF8000}${alignc}${time %H:%M}${font Monospace:bold:size=12}${color #FFBF00}

    ${alignc}${time %A}
    ${alignc}${time %d %B %Y}
    ${font Verdana:style=Bold:size=20}${color #FFBF00}${alignc}Endea${color #FF8000}vour ${color #BF4000} OS 
    ${alignc}${color #FFBF00}ARCH ${color #FF8000}LINUX
    ${font Monospace:bold:size=12}${color #FF8000}Ξ Ξ₯ΑΙΝΑΣ: ${color #FFBF00}~$kernel on $machine}
    $font${color #BF4000}$stippled_hr
    ${color cyan}CPU0: ${cpu cpu0}% ${alignc}${cpubar cpu0 8,185 ff0000 ff8d2a} ${alignr}${color cyan}${freq 0} GHz
    ${color green}CPU1: ${cpu cpu1}% ${alignc}${cpubar cpu1 8,185 ff0000 ff8d2a} ${alignr}${color green}${freq 1} GHz
    ${cpugraph 15,300 ff0000 ff8d2a}

$font${color #BF4000}$stippled_hr

    ${color}Name                                    PID                              CPU%
    ${font Monospace:size=8}${color lightgrey}${top name 1}       ${top pid 1}              ${if_match ${top cpu 1} >=30}${color red}${top cpu 1}$else${if_match ${top cpu 1} >=20}${color orange}${top cpu 1}$else${if_match ${top cpu 1} >=10}${color yellow}${top cpu 1}$else${top cpu 1}$endif$endif$endif
    ${color lightgrey}${top name 2}       ${top pid 2}              ${if_match ${top cpu 2} >=30}${color red}${top cpu 2}$else${if_match ${top cpu 2} >=20}${color orange}${top cpu 2}$else${if_match ${top cpu 2} >=10}${color yellow}${top cpu 2}$else${top cpu 2}$endif$endif$endif
    ${color lightgrey}${top name 3}       ${top pid 3}              ${if_match ${top cpu 3} >=30}${color red}${top cpu 3}$else${if_match ${top cpu 3} >=20}${color orange}${top cpu 3}$else${if_match ${top cpu 3} >=10}${color yellow}${top cpu 3}$else${top cpu 3}$endif$endif$endif
    ${color lightgrey}${top name 4}       ${top pid 4}              ${if_match ${top cpu 4} >=30}${color red}${top cpu 4}$else${if_match ${top cpu 4} >=20}${color orange}${top cpu 4}$else${if_match ${top cpu 4} >=10}${color yellow}${top cpu 4}$else${top cpu 4}$endif$endif$endif
    ${color lightgrey}${top name 5}       ${top pid 5}              ${if_match ${top cpu 5} >=30}${color red}${top cpu 5}$else${if_match ${top cpu 5} >=20}${color orange}${top cpu 5}$else${if_match ${top cpu 5} >=10}${color yellow}${top cpu 5}$else${top cpu 5}$endif$endif$endif
    $font${color green}RAM: $memperc%${alignr}Used: $mem/$memmax
    ${memgraph 15,300 ff0000 ff8d2a}

$font${color #BF4000}$stippled_hr
    ${color}Name                                 PID                          MEM%
    ${font Monospace:size=8}${color lightgrey}${top_mem name 1}       ${top_mem pid 1}              ${if_match ${top_mem mem 1} >=25}${color red}${top_mem mem 1}$else${if_match ${top_mem mem 1} >=18}${color orange}${top_mem mem 1}$else${if_match ${top_mem mem 1} >=10}${color yellow}${top_mem mem 1}$else${top_mem mem 1}$endif$endif$endif
    ${color lightgrey}${top_mem name 2}       ${top_mem pid 2}              ${if_match ${top_mem mem 2} >=25}${color red}${top_mem mem 2}$else${if_match ${top_mem mem 2} >=18}${color orange}${top_mem mem 2}$else${if_match ${top_mem mem 2} >=10}${color yellow}${top_mem mem 2}$else${top_mem mem 2}$endif$endif$endif
    ${color lightgrey}${top_mem name 3}       ${top_mem pid 3}              ${if_match ${top_mem mem 3} >=25}${color red}${top_mem mem 3}$else${if_match ${top_mem mem 3} >=18}${color orange}${top_mem mem 3}$else${if_match ${top_mem mem 3} >=10}${color yellow}${top_mem mem 3}$else${top_mem mem 3}$endif$endif$endif
    ${color lightgrey}${top_mem name 4}       ${top_mem pid 4}              ${if_match ${top_mem mem 4} >=25}${color red}${top_mem mem 4}$else${if_match ${top_mem mem 4} >=18}${color orange}${top_mem mem 4}$else${if_match ${top_mem mem 4} >=10}${color yellow}${top_mem mem 4}$else${top_mem mem 4}$endif$endif$endif
    ${color lightgrey}${top_mem name 5}       ${top_mem pid 5}              ${if_match ${top_mem mem 5} >=25}${color red}${top_mem mem 5}$else${if_match ${top_mem mem 5} >=18}${color orange}${top_mem mem 5}$else${if_match ${top_mem mem 5} >=10}${color yellow}${top_mem mem 5}$else${top_mem mem 5}$endif$endif$endif
$font${color #BF4000}$stippled_hr
    ${color cyan}/root:  ${color lightgrey}${fs_used /}/${fs_size /} - ${fs_type /} ${color #8370FF}${fs_bar /}
    ${color cyan}/home:  ${color lightgrey}${fs_used /home}/${fs_size /home} - ${fs_type /home} ${color #8370FF}${fs_bar /home}
    ${color cyan}Swap: ${color lightgrey}$swap/$swapmax  ${color #009bf9}$swapperc% $swapbar
$font${color #BF4000}$stippled_hr
    ${color cyan}CPU Temp: ${color green} ${execi 2 sensors | grep "temp2:" | cut -c12-16 ;}Β°C${top 1} ${alignr}
 
$font${color #BF4000}$stippled_hr
    $font${color cyan}Outbound Connection 
    ${tcp_portmon 16436 61000 rhost 1} 
    ${tcp_portmon 16436 61000 rhost 2} 
    ${tcp_portmon 16436 61000 rhost 3} 
    ${tcp_portmon 16436 61000 rhost 4} 
${color #BF4000}$stippled_hr
    ${color cyan}${font Monospace:size=10}dmesg:
${color green}${execi 300 dmesg | tail -n 4}
   
${color #BF4000}$stippled_hr

${image ~/.conky/endeavourOS.png -p 240,8 -s 140x140}

 ]]

endeavourOS

and the endeavourOS.png logo. Must have it in a hiden folder called conky that create in your home directory.

2 Likes

my conky is just mimicking the gnome top panel, the panel itself is 100% transparent. clock and icons on the right are not conky obviously

1 Like

please use code tags :wink:

That is interesting…I built it about 5 years ago… https://www.pling.com/p/1176291/

Would have been nice to have got some credit for the work…

If anyone wants to see the Conkys I’ve done… https://www.pling.com/u/autocrosser1/products

I see! I did not know that it was your work originally, I just copied it from Garuda forum link down in this post. Awesome work btw!

e: I addet now your github link to my post.