You are not logged in.

#2701 2026-05-14 08:41:51

unklar
Back to the roots 1.9
From: #! BL
Registered: 2015-10-31
Posts: 2,980

Re: Show us your conky

If someone, like me, has been failing for a long time due to this error message from @mpeachy's allcombined.lua script...

conky: llua_do_call: function conky_gradbar execution failed: allcombined.lua:19: attempt to call a nil value (global 'loadstring')

The solution is that with lua5.2 the loadstring was changed to load.
So, look for it and change it.  big_smile
https://github.com/brndnmtthws/conky/issues/1099

Bildschirmfoto-2026-05-14-09-36-40.png

Offline

#2702 2026-05-15 04:26:56

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,221

Re: Show us your conky

unklar wrote:

If someone, like me, has been failing for a long time due to this error message from @mpeachy's allcombined.lua script...

conky: llua_do_call: function conky_gradbar execution failed: allcombined.lua:19: attempt to call a nil value (global 'loadstring')

The solution is that with lua5.2 the loadstring was changed to load.
So, look for it and change it.  big_smile
https://github.com/brndnmtthws/conky/issues/1099

https://i.postimg.cc/CRxjrkny/Bildschirmfoto-2026-05-14-09-36-40.png

unklar I'm sure mrpeachy would be very proud of you.
It's nice to know his scripts still live on.

RIP mrpeachy


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#2703 Today 00:53:49

PackRat
jgmenu user Numero Uno
Registered: 2015-10-02
Posts: 2,938

Re: Show us your conky

conky in sway status bar -

tgTq2Xio_t.png

conky.config = {
	out_to_console = true,
	out_to_x = false,
	background = false,
	max_text_width = 0,
	cpu_avg_samples = 2,
	net_avg_samples = 2,
	no_buffers = true,
	out_to_stderr = false,
	update_interval = 2.0,
	total_run_times = 0,
	if_up_strictness = 'address',
	uppercase = false,
	short_units = false,
	override_utf8_locale = false,
	use_spacer = 'left',

};

-- # JSON for i3bar #
-- # { "full_text" : "Up:  ${uptime_short}  " , "color" : "\#B0B0B0" }, #
-- # { "full_text" : "${loadavg}  " , "color" : "\#B0B0B0" }, #
-- # { "full_text" : "${exec /home/doug/bin/cpu_temp.pl | cut -c1-7}  ", "color" : "\#B0B0B0" },
-- # { "full_text" : "${exec sensors nvme-pci-0300 | awk '/Composite:/{gsub("+","");print $2}' | sed 's:\\.[^|]*::g'}  ", "color" : "\#B0B0B0" },
-- # { "full_text" : "${exec sensors coretemp-isa-0000 | awk '/Package id 0:/{gsub("+","");print $4}' | sed 's:\\.[^|]*::g'}  ", "color" : "\#B0B0B0" },
-- # { "full_text" : "NET:  ${wireless_link_qual_perc wlp2s0}%    ${upspeed wlp2s0}    ${downspeed wlp2s0}  " , "color" : "\#B0B0B0" },
-- # { "full_text" : "${exec $HOME/bin/battery_state.sh}  ", "color" : "\#B0B0B0" },
-- # { "full_text" : "${execpi 60 acpi -b | awk '/Battery 0/ {print $5}' | cut -c1-5}  ", "color" : "\#B0B0B0" },
-- # °C

-- determine hwmon modules
-- for i in /sys/class/hwmon/hwmon*/temp*_input; do echo "$(<$(dirname $i)/name): $(cat ${i%_*}_label 2>/dev/null || echo $(basename ${i%_*})) $(readlink -f $i)"; done

conky.text = [[

[

	{ "full_text" : "CPU:  ${cpu}%  " , "color" :
		${if_match ${cpu}>=50}"\#FF0008"${else}${if_match ${cpu}>=25}"\#FBFF00"${else}"\#B0B0B0"${endif}${endif} },

	{ "full_text" : "${loadavg}  " , "color" : "\#B0B0B0" },

	{ "full_text" : "${hwmon 5 temp 1}°C  ", "color" :
		${if_match ${hwmon 5 temp 1}>=80}"\#FF0008"${else}${if_match ${hwmon 5 temp 1}>=50}"\#FBFF00"${else}"\#B0B0B0"${endif}${endif} },

	{ "full_text" : "${hwmon 4 temp 1}°C  ", "color" :
		${if_match ${hwmon 4 temp 1}>=80}"\#FF0008"${else}${if_match ${hwmon 4 temp 1}>=50}"\#FBFF00"${else}"\#B0B0B0"${endif}${endif} },

	{ "full_text" : "${hwmon 4 temp 2}°C  ", "color" :
		${if_match ${hwmon 4 temp 2}>=80}"\#FF0008"${else}${if_match ${hwmon 4 temp 2}>=50}"\#FBFF00"${else}"\#B0B0B0"${endif}${endif} },

	{ "full_text" : "${hwmon 4 temp 3}°C  ", "color" :
		${if_match ${hwmon 4 temp 3}>=80}"\#FF0008"${else}${if_match ${hwmon 4 temp 3}>=50}"\#FBFF00"${else}"\#B0B0B0"${endif}${endif} },

	{ "full_text" : "MEM:  ${memperc}%  " , "color" :
		${if_match ${memperc}>=50}"\#FF0008"${else}${if_match ${memperc}>=25}"\#FBFF00"${else}"\#B0B0B0"${endif}${endif} },

	{ "full_text" : "BAT0:  ${battery_percent BAT0}%  ", "color" :
	    ${if_match ${battery_percent BAT0}<=12}"\#FF001A"${else}${if_match ${battery_percent BAT0}<=15}"\#FBFF00"${else}"\#B0B0B0"${endif}${endif} },

	{ "full_text" : "${execpi 60 acpi -b | awk '/Battery 0/ {print $3}' | cut -c1}  ", "color" : "\#B0B0B0" },

	{ "full_text" : "NET:${wireless_link_qual_perc wlp2s0}%  ",  "color" :
		${if_match ${wireless_link_qual_perc wlp2s0}<=30}"\#FF001A"${else}${if_match ${wireless_link_qual_perc wlp2s0}<=60}"\#FBFF00"${else}"\#B0B0B0"${endif}${endif} },

	{ "full_text" : "${upspeed wlp2s0}    ${downspeed wlp2s0}  " , "color" : "\#B0B0B0" },

	{ "full_text" : "${time %a %e %b  %l:%M %p}  " , "color" : "\#B0B0B0" }
	
],

]];

You must unlearn what you have learned.
    -- yoda

Offline

#2704 Today 02:16:33

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,221

Re: Show us your conky

Nice one PackRat.


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

Board footer

Powered by FluxBB