You are not logged in.

#1451 2021-02-24 08:20:52

unklar
Member
From: #! BL
Registered: 2015-10-31
Posts: 1,438

Re: Show us your conky

ohnonot wrote:

Do you need more help?

^Please - gladly

How do you pass that to curl, because I can't see anything else about this   hmm

$ ./ohnonot_radio.sh
https://www.radioswisspop.ch/en/

Last edited by unklar (2021-02-24 10:10:46)

Offline

#1452 2021-02-25 19:28:08

ohnonot
...again
Registered: 2015-09-29
Posts: 5,383
Website

Re: Show us your conky

Do you have xmllint installed? It's part of the libxml2-utils package.


Please use CODE tags for code.
Search youtube without a browser: repo | thread
BL quote proposals to this thread please.
my repos / my repos

Offline

#1453 2021-02-25 23:28:59

TeoBigusGeekus
BL DieHard
From: /Greece/Kastoria
Registered: 2015-10-04
Posts: 1,470

Re: Show us your conky

@unklar

#!/usr/bin/env bash

line_1=$(sed -n 1p temp)
curr_playing=$(audtool current-song-tuple-data title)
if [[ $line_1 != $curr_playing ]]; then
    echo $curr_playing > temp
    wget -q -O current_playing "https://www.radioswisspop.ch/en"
    sed -i '/<div class="current-airplay">/,/<div class="vol-ctr hidden-md hidden-lg">/!d' current_playing
    sed -i -e 's/^.*"titletag">//' -e 's/^.*"artist">//' -e 's/^.*src="//' current_playing
    sed -i -e 's/<\/span>//g' -e 's/" \/>//g' -e '/<\|>/d' -e '/^ *$/d' current_playing
    wget -q -O current_playing_thumb.jpg "https://www.radioswisspop.ch$(sed -n 1p current_playing)"
fi

Have it run every 30sec or something - maybe a cron job?

Last edited by TeoBigusGeekus (2021-02-25 23:31:17)


Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!

Offline

#1454 2021-02-26 12:46:11

unklar
Member
From: #! BL
Registered: 2015-10-31
Posts: 1,438

Re: Show us your conky

Wonderful Teo!  smile

2021-02-26-11-00-50_scrot.th.png

In the beginning Conky does it without problems with these settings (I took the liberty to write this line into your script).

conky.text = [[
#${execi 3 sed -n '1p' $HOME/.conky/teoRadio/current_playing}
${execi 30 sed -n '2p' $HOME/.conky/teoRadio/current_playing}
${execi 30 sed -n '3p' $HOME/.conky/teoRadio/current_playing}
${texeci 30 $HOME/.conky/teoRadio/teo_radio.sh}${lua fDrawImage $HOME/.conky/teoRadio/teo.png 0 40 60 60 0}
	convert -resize 60x60! ~/.conky/teoRadio/current_playing_thumb.jpg ~/.conky/teoRadio/teo.png

But Conky simply stops running the script after a certain time of "editing". The reason does not become apparent. hmm

I have to switch on -DD, S11 would say.
Or, follow your advice with a cronjob.

So, first of all, thank you!  wink

Offline

#1455 2021-02-26 13:08:42

unklar
Member
From: #! BL
Registered: 2015-10-31
Posts: 1,438

Re: Show us your conky

ohnonot wrote:

Do you have xmllint installed? It's part of the libxml2-utils package.

Sorry about that, I had relied on libxml2 as the default in BL and didn't check the -utils. ops

Now it looks correct.

https://www.radioswisspop.ch/en//wo/covers/c50x50/1376842-50x50.jpg

so i would enter

curl -o https://www.radioswisspop.ch/en//wo/covers/c50x50/1376842-50x50.jpg > image.jpg

but, can't I do that right now in your script

#!/bin/sh

exec 2>/dev/null
url="https://www.radioswisspop.ch/en"
echo "$url/$(curl "$url" | xmllint --nonet --html --xpath "string(//div[@class=\"current-airplay\"]//div[@class=\"time-cover-w\"]/img/@src)" -)"
curl -o https://www.radioswisspop.ch/en//wo/covers/c50x50/1376842-50x50.jpg > image.jpg

or should it read

curl -o -L https://www.radioswisspop.ch/en//wo/covers/c50x50/1376842-50x50.jpg > image.jpg

Last edited by unklar (2021-02-26 14:12:41)

Offline

#1456 2021-02-26 13:24:25

Sector11
Conky 1.9er Mod Squid
From: Upstairs
Registered: 2015-08-20
Posts: 6,591

Re: Show us your conky

unklar wrote:

Wonderful Teo!  smile

{snip}

I have to switch on -DD, S11 would say.
Or, follow your advice with a cronjob.

So, first of all, thank you!  wink

I heard my name -- it was very distinct.
What did I to now.   lol  lol


The sun will never set if you keep walking towards it. - my son
Being positive doesn't understand physics.
_______________________________
Debian 10 Buster = SharpBang ♯!

Offline

#1457 2021-02-26 18:28:06

unklar
Member
From: #! BL
Registered: 2015-10-31
Posts: 1,438

Re: Show us your conky

@Sector11
^^Your tips were always worth their weight in gold.  big_smile

-DD spits out this

~$ conky -c ~/.conky/teoRadio/conkyrc10 -DD &
[1] 3972
~$ DEBUG(0) [/build/conky-H8e3VB/conky-1.10.6/src/conky.cc:2698]: reading contents from config file '/home/unklar/.conky/teoRadio/conkyrc10'
DEBUG(0) [/build/conky-H8e3VB/conky-1.10.6/src/x11.cc:497]: Fixed xinerama area to: 0 0 1920 1080
DEBUG(0) [/build/conky-H8e3VB/conky-1.10.6/src/x11.cc:497]: Fixed xinerama area to: 0 0 1920 1080
conky: desktop window (6b4) is root window
DEBUG(0) [/build/conky-H8e3VB/conky-1.10.6/src/x11.cc:634]: Found ARGB Visual
conky: window type - normal
conky: drawing to created window (0x3a00002)
conky: drawing to double buffer
DEBUG(1) [/build/conky-H8e3VB/conky-1.10.6/src/core.cc:1986]: no templates to replace
conky: forked to background, pid is 3973

no templates to replace
if I feed a search engine with it I get to sed

Teo, is it possible that this line also has the sed -e must contain ?

...
    sed -i '/<div class="current-airplay">/,/<div class="vol-ctr hidden-md hidden-lg">/!d' current_playing
...

  smile

Last edited by unklar (2021-02-26 18:33:06)

Offline

#1458 2021-02-26 19:41:38

Sector11
Conky 1.9er Mod Squid
From: Upstairs
Registered: 2015-08-20
Posts: 6,591

Re: Show us your conky

AHA!  The old double debug trick.  Totally forgot about that  smile


The sun will never set if you keep walking towards it. - my son
Being positive doesn't understand physics.
_______________________________
Debian 10 Buster = SharpBang ♯!

Offline

#1459 2021-02-26 21:18:14

TeoBigusGeekus
BL DieHard
From: /Greece/Kastoria
Registered: 2015-10-04
Posts: 1,470

Re: Show us your conky

No, I don't think so. The -e option is needed when you're doing many things with one sed command, for example

sed -i -e 'something' -e 'something else' -e 'ever more' -e 'and more' -e 'etc.' /path/file/to/manipulate

Try the whole thing without the convert command.

Last edited by TeoBigusGeekus (2021-02-26 21:19:56)


Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!

Offline

#1460 2021-02-27 04:36:14

unklar
Member
From: #! BL
Registered: 2015-10-31
Posts: 1,438

Re: Show us your conky

^ forget it

Slept on it one night and I also think it's not an extra -e in sed.
You are right.

Maybe temp should be deleted periodically so conky doesn't have a "template" anymore...

Offline

#1461 2021-02-27 10:36:28

unklar
Member
From: #! BL
Registered: 2015-10-31
Posts: 1,438

Re: Show us your conky

I have now moved to an "unencumbered" conky system (beryllium) and set everything up from scratch.

2021-02-27-10-43-47_scrot.th.png

Teo, since more than 4 hours Conky is doing its job with your excellent script.  big_smile
The cover image is usually changed after 10 seconds at the latest. Title and artist need about 30Sec. That's why I switched to temp, because this is done at least 2-5Sec. earlier.
I have this setting now:

...

--	lua_load = '~/LUA/image.lua',
--${lua fDrawImage $HOME/.conky/teoRadio/teo.png 0 40 60 60 0}

};

conky.text = [[
#${execi 3 sed -n '1p' $HOME/.conky/teoRadio/current_playing}
#${execi 30 sed -n '2p' $HOME/.conky/teoRadio/current_playing}
#${execi 30 sed -n '3p' $HOME/.conky/teoRadio/current_playing}
${execi 30 sed -n '1p' $HOME/temp | fold -s40}
${texeci 30 $HOME/.conky/teoRadio/teo_radio.sh}${image $HOME/current_playing_thumb.jpg -p 0,40 -s 50x50}

]];

You can still "tweak" it. wink
Yesterday I also had a serious error in my configuration myself.
The update time was only 0.1 sec. glasses

So, a cronjob I do not need to make according to the current state.
Teo, big thanks to you. You are the best!  angel

Offline

#1462 2021-02-27 13:28:20

unklar
Member
From: #! BL
Registered: 2015-10-31
Posts: 1,438

Re: Show us your conky

^So, I have now helped myself to my friend @loutch   smile

rBOHG5yt.png

So far this runs without problems that I can publish the configuration here:

-- pkill -xf "conky -c $HOME/path/to/conkyrc"
-- 2021-02-27 @unklar with the script from @TeoBigusGeekus
conky.config = {
	background = false,--true,
	
	use_xft = true,
	font = 'Fira Mono:size=8',
	xftalpha = 1,
	
	double_buffer = true,	
	update_interval = 1,
	total_run_times = 0,
	no_buffers = true,	
	
	own_window = true,
	own_window_type = 'desktop',--normal',	
	own_window_transparent = true,
--	own_window_color = '000000',
--	own_window_argb_visual = true,
--	own_window_argb_value = 180,
	own_window_hints = 'undecorated,below,skip_taskbar,skip_pager',--
        own_window_class = 'Conky',	

	text_buffer_size = 2048,
	draw_shades = false,
	draw_outline = false,
	draw_borders = false,
	draw_graph_borders = false,
	default_color = 'ffffff',
	default_outline_color = 'ffffff',

	minimum_width = 310, minimum_height = 88,
	maximum_width = 310,
	alignment = 'bottom_right',
	gap_x = 10,--350,
	gap_y = 60,

	uppercase = false,
	cpu_avg_samples = 2,
	override_utf8_locale = true,
--      imlib_cache_flush_interval 60
	imlib_cache_size = 0,

	stippled_borders = 5,

	default_color = 'ffffff',--ffd579
	default_shade_color = '333333',
	default_outline_color = '000000',

--	lua_load = '~/LUA/image.lua',
--${lua fDrawImage $HOME/.conky/teoRadio/teo.png 0 40 60 60 0}

};

conky.text = [[
${texeci 30 $HOME/.conky/teoRadio/teo_radio.sh}${image $HOME/.conky/teoRadio/images/case.png -p 0,0 -s 310x88}
${image $HOME/current_playing_thumb.jpg -p 18,12 -s 55x55}
#${goto 125}${execi 20 sed -n '1p' $HOME/temp | fold -s30}
#${execi 3 sed -n '1p' $HOME/current_playing}
${goto 125}${execi 30 sed -n '2p' $HOME/current_playing}
${goto 125}${execi 30 sed -n '3p' $HOME/current_playing}

]];

Thanks, Teo  smile

Offline

#1463 2021-02-27 14:23:12

TeoBigusGeekus
BL DieHard
From: /Greece/Kastoria
Registered: 2015-10-04
Posts: 1,470

Re: Show us your conky

Anytime buddy!


Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!

Offline

#1464 2021-02-27 19:36:49

ohnonot
...again
Registered: 2015-09-29
Posts: 5,383
Website

Re: Show us your conky

unklar wrote:

but, can't I do that right now in your script

#!/bin/sh
exec 2>/dev/null
url="https://www.radioswisspop.ch/en"
curl -o image.jpg "$url/$(curl "$url" | xmllint --nonet --html --xpath "string(//div[@class=\"current-airplay\"]//div[@class=\"time-cover-w\"]/img/@src)" -)"

Fixed it for you.


Please use CODE tags for code.
Search youtube without a browser: repo | thread
BL quote proposals to this thread please.
my repos / my repos

Offline

#1465 2021-03-01 10:16:40

unklar
Member
From: #! BL
Registered: 2015-10-31
Posts: 1,438

Re: Show us your conky

^Thanks!  smile

Offline

#1466 2021-03-17 11:31:00

unklar
Member
From: #! BL
Registered: 2015-10-31
Posts: 1,438

Re: Show us your conky

This is one of my sid(uction) systems that have been converted to systemd-networkd.
In the process I always noticed that this code:

speed  ↓  ${downspeed enp2s0}
speed  ↑  ${upspeed enp2s0}

shows a wrong network speed in the conky.
Since another sid system, without the conversion to systemd-networkd, shows the correct value, I saw the cause of the problem in the conversion of the network in systemd.

A few days ago I tinkered with Conky and the network on template and it surprisingly showed this picture:

iUaL7Xyt.png

The test Conky in the middle runs with template... , and, the values are correct.  mad

Offline

#1467 2021-03-17 15:10:56

Sector11
Conky 1.9er Mod Squid
From: Upstairs
Registered: 2015-08-20
Posts: 6,591

Re: Show us your conky

unklar wrote:

The test Conky in the middle runs with template... , and, the values are correct.  mad

Can you show the "template" you mentioned.


The sun will never set if you keep walking towards it. - my son
Being positive doesn't understand physics.
_______________________________
Debian 10 Buster = SharpBang ♯!

Offline

#1468 2021-03-17 16:57:46

unklar
Member
From: #! BL
Registered: 2015-10-31
Posts: 1,438

Re: Show us your conky

Hello my friend, I am glad to read you.  smile

I don't know if you know the back story.
I was able to resolve this this afternoon (I think).

Cause was:
convert.lua 
with my configurations I always moved from system to system over the years. While I used to do the conversion from 1.9 to 1.10 by hand, I later started to use the script from /usr/share/doc/conky*/convert.lua
to use. And, here was now concretely the rabbit in the different versions (10.4 --> 11.6.2) buried. e.g.

$ lua convert.lua cmus_senk10 cmus_senk10rep
/usr/bin/dos2unix
dos2unix: Datei cmus_senk10 wird ins Unix-Format umgewandelt …
lua: convert.lua:147: attempt to index local 'settings' (a nil value)
stack traceback:
        convert.lua:147: in main chunk
        [C]: in ?

I want to say, "No sooner do you do it right, than it works!". big_smile See
vuR2iy0t.pngwithout template, so it is NOT because of systemd-networkd  wink

I do not want to withhold the template from you nevertheless

...
    template0 = [[${color}\1: ${color}${alignr}${addr \1}
${color}Current: ${color}${alignr}${execi 10 test -e /sys/class/net/\1 && /sbin/iwconfig \1 | awk '/Bit Rate=/ { sub(/Rate=/,"", $2); print $2 }'} Mbits/sec]],

    template1 = [[
${color}\1: ${color}${alignr}${addr \1}\n]],

    template2 = [[${color}Down: ${color}${downspeed \1}  ${alignr}${color}Up:${color} ${upspeed \1} 
${downspeedgraph \1 20,120 000000 0ABFFF} ${alignr}${upspeedgraph \1 20,120 000000 0ABFFF}${color}
${color}Total:${color} ${totaldown \1} ${alignr}${color}\1          ${alignr}${color}Total:${color} ${totalup \1}]],

   template4 = 'ens1',
   template5 = 'enp2s0',
   template6 = 'wlp2s2',
   template7 = 'wwan0',
...

${color}${voffset 5}Hostname: ${color}${alignr}${nodename}
${if_up ${template7}}${template0 ${template7}}${else}${template0 ${template6}}${endif}
${if_up ${template5} }${template1 ${template5} }${else}${template1 ${template4} }${endif}
${if_up ${template7}}${template2 ${template7}}${else}${if_up ${template6}}${template2 ${template6}}${else}${if_up ${template5}}${template2 ${template5}}${else}${if_up ${template4}}${template2 ${template4}}${else}${template2 no-link}      ${endif}${endif}${endif}${endif}

I must have an additional error 'in there. Maybe you see it...   devil

By the way, here's a look at the upcoming [beryllium].  angel
Alkd2hBt.png

Last edited by unklar (2021-03-17 18:08:09)

Offline

#1469 2021-03-17 21:42:59

Sector11
Conky 1.9er Mod Squid
From: Upstairs
Registered: 2015-08-20
Posts: 6,591

Re: Show us your conky

unklar wrote:

Hello my friend, I am glad to read you.  smile

I don't know if you know the back story.
I was able to resolve this this afternoon (I think).

Cause was:
convert.lua

GRRRRRRRR!     I do not have that problem.

I'm still using  v1.9  smile  It just works!

I must have an additional error 'in there. Maybe you see it...   devil

By the way, here's a look at the upcoming [beryllium].  angel
https://i.imgur.com/Alkd2hBt.png

Thank you for the templates.

Now that LOOK NICE!!!


The sun will never set if you keep walking towards it. - my son
Being positive doesn't understand physics.
_______________________________
Debian 10 Buster = SharpBang ♯!

Offline

#1470 2021-03-20 13:08:41

unklar
Member
From: #! BL
Registered: 2015-10-31
Posts: 1,438

Re: Show us your conky

^I swear, should the future 1.12. also have such surprises for me, then I'm back with you in version 1.9   big_smile  cool

Offline

#1471 2021-03-20 17:35:38

Sector11
Conky 1.9er Mod Squid
From: Upstairs
Registered: 2015-08-20
Posts: 6,591

Re: Show us your conky

unklar wrote:

^I swear, should the future 1.12. also have such surprises for me, then I'm back with you in version 1.9   big_smile  cool

And I'd welcome you with open arms and a nice 25 Year Old Scotch Whisky of your choice.

cool  cool  cool


The sun will never set if you keep walking towards it. - my son
Being positive doesn't understand physics.
_______________________________
Debian 10 Buster = SharpBang ♯!

Offline

#1472 2021-03-20 17:46:36

unklar
Member
From: #! BL
Registered: 2015-10-31
Posts: 1,438

Re: Show us your conky

mmh, I choose SPRINGBANK.   kiss

Offline

#1473 2021-03-20 20:02:23

Colonel Panic
Member
Registered: 2018-11-13
Posts: 225

Re: Show us your conky

Here is the conky.conf file from a recent version of Swift Linux (which is heavily based on MX);

conky.config = {
	background = true,
	font = 'Caliban:size=8',
	font = 'Caliban:size=8',
	use_xft = true,
	xftalpha = 0.5,
	update_interval = 1.0,
	total_run_times = 0,
	own_window = true,
	own_window_type = 'normal',
	own_window_transparent = true,
	own_window_hints = 'undecorated,below,skip_taskbar,skip_pager',
	double_buffer = true,
	draw_shades = true,
	draw_outline = true,
	draw_borders = false,
	draw_graph_borders = false,
	minimum_width = 400, minimum_height = 0,
	maximum_width = 600,
--default_color ffffff
	default_shade_color = '000000',
	draw_outline = false,
	alignment = 'top_right',
	gap_x = 0,
	gap_y = 46,
	no_buffers = true,
	cpu_avg_samples = 2,
	override_utf8_locale = false,
	uppercase = false,
	use_spacer = 'none',

	color1 = 'ffffff',

	own_window_argb_value = 0,
	own_window_argb_visual = true,
	own_window_colour = '000000',

-- network templates
   template0 = 'wlan0',
   template1 = 'wlan1',
   template2 = 'eth0',
   template3 = 'eth1',

-- battery templates

    template4 = [[${if_existing /sys/class/power_supply/BAT\1}\n${voffset -6}${goto 70}${font Poky:pixelsize=22}T${font}${color 98FB98}${voffset -8} ${battery_bar 6,120 BAT\1}${color}  ${battery BAT\1}${endif}]],

    template5 = [[${template4 0}${template4 1}]],

};

-- fluxbox adjustment

if math.floor(os.execute("pgrep -x fluxbox>/dev/null")/256) == 0 then
   conky.config.own_window_transparent = true
   conky.config.own_window_argb_visual = false
end

conky.text = [[
${image ./icons/MX_logo.png -p 18,0 -s 45x45}${goto 74}${font Poky:pixelsize=20}r${font} ${color1}${voffset -16} Kernel: $kernel $machine
${goto 99}Uptime: $uptime_short 
${goto 99}Users logon: $user_number
${template5}
${voffset -8}

##CPU##
${goto 33}${font :style=Bold:pixelsize=12}\
CPU0${voffset -8} ${font Poky:pixelsize=22}P${font} ${voffset -5}${freq_g 1} GHz \
${voffset -15} ${cpugraph  CPU0 20,80 FFF6CD FF0B00 -t}
${voffset -20}${goto 246}${font :style=Bold:pixelsize=14}${cpu CPU0}%${font}
${goto 33}${font :style=Bold:pixelsize=12}\
${voffset 6}CPU1 ${voffset -8}${font Poky:pixelsize=22}P${font} ${voffset -5}${freq_g 1} GHz \
${voffset -15} ${cpugraph  CPU1 20,80 FFF6CD FF0B00 -t}
${voffset -20}${goto 246}${font :style=Bold:pixelsize=14}${cpu CPU0}%${font}\
${if_existing /sys/class/thermal/thermal_zone0/temp}\
${voffset -20}${alignr 50}${voffset -0}${font weather:pixelsize=32}zx${font}${voffset -10}${font :style=Bold:pixelsize=14}\
${eval ${acpitemp}}C${else}${endif}


##SYS##


${voffset -8}${goto 34}${font :style=Bold:pixelsize=12}SYS${font}${voffset -19} ${font Poky:pixelsize=32}a${font}   ${voffset -22}  RAM: $mem v $memmax
${alignr 160}${color A0CCFF}   ${membar 4,120}${color}
${goto 120} Swap: $swap v $swapmax
${goto 120} Load: ${color C7FF8E}$loadavg${color}
${goto 120} Processes: ${color C7FF8E}$processes${color}
${goto 120} Running: $running_processes ${color}

##NET##

${voffset -8}${goto 33}${font :style=Bold:pixelsize=12}NET${font}${voffset -19} ${font Poky:pixelsize=32}w${font}
${if_up $template0} \
${goto 120}${voffset -20}essid: '${wireless_essid $template0}' ${wireless_bitrate $template0} ${color 9FFCC0}${wireless_link_bar 4,40 $template0}${color}


${goto 118}${font Poky:pixelsize=22}i${font}${voffset -40} Download: ${downspeed $template0}
${goto 148}${voffset -6}${downspeedgraph $template0 25,150 D9FFDF A5FEB3}
${goto 148}${voffset -4}Upload: ${upspeed $template0}
${goto 148}${voffset -6}${upspeedgraph $template0 25,150 FEC2A5 FA9C6F}
${goto 118}${font Poky:pixelsize=22}e${font}
${goto 148}${voffset -26}Total:  down:${totaldown $template0} 
${goto 189}up:${totalup $template0}${else}\
${if_up $template1} \
${goto 120}${voffset -20}essid: '${wireless_essid $template1}' ${wireless_bitrate $template1} ${color 9FFCC0}${wireless_link_bar 4,40 $template1}${color}


${goto 118}${font Poky:pixelsize=22}i${font}${voffset -40} Download: ${downspeed $template1}
${goto 148}${voffset -6}${downspeedgraph $template1 25,150 D9FFDF A5FEB3}
${goto 148}${voffset -4}Upload: ${upspeed $template1}
${goto 148}${voffset -6}${upspeedgraph $template1 25,150 FEC2A5 FA9C6F}
${goto 118}${font Poky:pixelsize=22}e${font}
${goto 148}${voffset -26}Total:  down:${totaldown $template1} 
${goto 189}up:${totalup $template1}${else}\
${if_up $template2}${color}
${goto 118}${font Poky:pixelsize=22}i${font}${voffset -40} Download: ${downspeed $template2}
${goto 148}${voffset -6}${downspeedgraph $template2 25,150 D9FFDF A5FEB3}
${goto 148}${voffset -4}Upload: ${upspeed $template2}
${goto 148}${voffset -6}${upspeedgraph $template2 25,150 FEC2A5 FA9C6F}
${goto 118}${font Poky:pixelsize=22}e${font}
${goto 148}${voffset -26}Total:  down:${totaldown $template2} 
${goto 189}up:${totalup $template2}${else}
${color}
${goto 118}${font Poky:pixelsize=22}i${font}${voffset -40} Download: ${downspeed $template3}
${goto 148}${voffset -6}${downspeedgraph $template3 25,150 D9FFDF A5FEB3}
${goto 148}${voffset -4}Upload: ${upspeed $template3}
${goto 148}${voffset -6}${upspeedgraph $template3 25,150 FEC2A5 FA9C6F}
${goto 118}${font Poky:pixelsize=22}e${font}
${goto 148}${voffset -26}Total:  down:${totaldown $template3} 
${goto 189}up:${totalup $template3}\
${endif}${endif}${endif}
##HDD##
${goto 33}${font Poky:pixelsize=52}y${font}
${voffset -40}${goto 120}${alignc}Root: ${fs_used /} / ${fs_size /} 
${goto 120}${alignc}${color 83A1FF}${fs_bar 4,150 /}${color}

##TIME##
${voffset 10}${goto 33}${font Poky:pixelsize=44}d${font}
${voffset -30}${goto 120} ${time %c} 
]];

and here is a screenshot, from Distrowatch;

https://distrowatch.com/images/ktyxqzobhgijab/swift.png

Last edited by Colonel Panic (2021-03-20 20:11:12)

Offline

#1474 2021-03-20 20:16:24

jeffreyC
Member
Registered: 2019-09-07
Posts: 26

Re: Show us your conky

Colonel Panic wrote:

Here is the conky.conf file from a recent version of Swift Linux (which is heavily based on MX);

and here is a screenshot, from Distrowatch;

https://distrowatch.com/images/ktyxqzobhgijab/swift.png

Looks like a conky from MX Linux or antiX if it is the one in the pic.

Offline

#1475 2021-03-20 21:32:17

Colonel Panic
Member
Registered: 2018-11-13
Posts: 225

Re: Show us your conky

Yes, but I'm puzzled as to where the "based on MX Linux" bit at the top would have come from. That doesn't seem to be anywhere in the configuration file.

Offline

Board footer

Powered by FluxBB