You are not logged in.

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

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

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

Online

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

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

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.


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

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

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

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...   ]:D

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

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

Online

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

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

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...   ]:D

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

Thank you for the templates.

Now that LOOK NICE!!!


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

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

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

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

Online

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

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

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


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

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

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

Re: Show us your conky

mmh, I choose SPRINGBANK.   {)

Online

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

Colonel Panic
Member
Registered: 2018-11-13
Posts: 1,406

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)

Online

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

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

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

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

Colonel Panic
Member
Registered: 2018-11-13
Posts: 1,406

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.

Online

#1471 2021-03-20 22:27:45

deleted0
Guest

Re: Show us your conky

Colonel Panic wrote:

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.



From the Interstate spin:

...

# stuff after 'TEXT' will be formatted on screen

own_window_argb_value 255
own_window_argb_visual yes
own_window_colour 000000
TEXT
${color3}${alignc}Swift Linux
${color3}${alignc}(based on MX Linux)

...

8bit

Last edited by deleted0 (2021-03-20 22:28:45)

#1472 2021-03-20 22:31:34

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

Re: Show us your conky

Pretty sure the original can be found here:

https://github.com/MX-Linux/mx-conky-data

Offline

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

deleted0
Guest

#1474 2021-03-21 20:29:20

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

Re: Show us your conky

I thought it was the antiX conky, but it has been a while since I looked at it.

I use this one myself:

https://github.com/MX-Linux/mx-conky-da … MX-MyConky

Sorry Sector11, I have gone over to the Dark Side and use a new conky. But yeah, they are a whole different thing to edit or create, I still don't have a handle on that.

Offline

#1475 2021-03-21 21:02:04

Colonel Panic
Member
Registered: 2018-11-13
Posts: 1,406

Re: Show us your conky

Eight.bit and Jeffrey, thanks for the info.

Here's the config file I use in Siduction, which I'm posting from now. It's adapted from Andreas Gohr's configuration, which is probably still online somewhere, but edited to remove things like the hard drive and CPU temperature for which the sensors aren't available on my machine (the temperature of my CPU showed as 0^C before I edited the file, which is clearly ridiculous).

A bit basic but it works;

#   Andreas Gohr's Conky Configuration (simplified somewhat)
    conky.config = {
    use_xft = true,
    xftalpha = 0.8,
    update_interval = 1.0,
    total_run_times = 0,
    own_window = true,
    own_window_transparent = true,
    own_window_argb_visual = true,
    own_window_type = 'normal',
    own_window_class = 'conky-semi',
    own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
    background = false,
    double_buffer = true,
    imlib_cache_size = 0,
    no_buffers = true,
    uppercase = false,
    cpu_avg_samples = 2,
    override_utf8_locale = true,
 
    -- placement
    alignment = 'top_right',
    gap_x = 140,
    gap_y = 25,
 
    -- default drawing
    draw_shades = false,
    draw_outline = false,
    draw_borders = false,
    draw_graph_borders = true,
    default_bar_width = 150, default_bar_height = 5,
    default_graph_width = 150, default_graph_height = 12,
    default_gauge_width = 20, default_gauge_height = 20,
 
    -- colors
    font = 'Liberation Mono:size=10',
    default_color = 'EEEEEE',
    color1 = 'AABBFF',
    color2 = 'FF993D',
    color3 = 'AAAAAA',
 
    -- layouting
    template0 = [[${font Liberation Sans:bold:size=11}${color2}\1 ${color3}${hr 2}${font}]],
    template1 = [[${color1}\1]],
    template2 = [[${goto 100}${color}]],
    template3 = [[${goto 180}${color}${alignr}]],
};
 
conky.text = [[
${template0 Info}
${template1 Date}                                                           ${template3}${color3}${time %a,}${color}${time %e %B %G}
${template1 Time}                                                           ${template3}${time %T}
 
${template0 System}
${template1 Hostname}                                                       ${template3}${nodename}
${template1 ${sysname}}                                                     ${template3}${kernel}-${machine}
${template1 Uptime}                                                         ${template3}${uptime_short}
${template1 CPU}                                                            ${template3}${freq_g}GHz
 
${template0 Processors}
${template1 Load}               ${template2}${loadavg 1}                    ${template3}${loadgraph}
${template1 Core\ 1}            ${template2}${cpu cpu1}%                    ${template3}${cpubar cpu1}
${template1 Core\ 2}            ${template2}${cpu cpu2}%                    ${template3}${cpubar cpu2}
${template1 Core\ 3}            ${template2}${cpu cpu3}%                    ${template3}${cpubar cpu3}
${template1 Core\ 4}            ${template2}${cpu cpu4}%                    ${template3}${cpubar cpu4}
${template1 Top}                ${template2}${top name 1}                   ${template3}${top cpu 1}
 
${template0 Memory}
${template1 Memory}             ${template2}${memperc}% used                ${template3}${mem} / ${memmax}
                                                                            ${template3}${membar}
${template1 Top}                ${template2}${top_mem name 1}               ${template3}${top_mem mem_vsize 1}

${template0 Swap}
${template1 Swap}               ${template2}${swapperc}% used               ${template3}${swap} / ${swapmax}
                                                                            ${template3}${swapbar}

${template0 Filesystem}
${template1 /}                  ${template2}${fs_free /} free               ${template3}${fs_used /} / ${fs_size /}
                                                                            ${template3}${fs_bar /}
${template1 IO\ Read}           ${template2}${diskio_read}                  ${template3}${diskiograph_read}
${template1 IO\ Write}          ${template2}$diskio_write                   ${template3}$diskiograph_write
${template1 Top}                ${template2}${top_io name 1}                ${template3}${top_io io_perc 1}%
 
]];

Last edited by Colonel Panic (2021-03-23 06:48:48)

Online

#1476 2021-03-22 13:36:59

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

Re: Show us your conky

Colonel Panic wrote:

Here's the config file I use in Siduction, which I'm posting from now, and other Debian-based distros like Pardus and Sparky. It's adapted from Andreas Gohr's configuration, which is probably still online somewhere, but edited to remove things like the hard drive and CPU temperature for which the sensors aren't available on my machine (the temperature of my CPU showed as 0^C before I edited the file, which is clearly ridiculous).

^How should Andreas Gohrs know the specification of your calculator?   lol
Maybe it's about this code (conky-semi, found via Ecosia on the net)

${template1 CPU\ Temperature}                                               ${template3}${acpitemp}°C
${template1 HDD\ Temperature}                                               ${template3}${hddtemp /dev/sda}°C
 

What says

sensors

or

sensors -u

Whereby the hddtemp will soon be out of the question anyway:

apt-listchanges: Neuigkeiten wrote:

hddtemp (0.3-beta15-54) unstable; urgency=medium

  hddtemp has been dead upstream for many years and is therefore in a minimal
  maintenance mode. It will be shipped in the Debian Bullseye release, but
  will not be present in the Debian Bookworm release.

  Nowadays the 'drivetemp' kernel module is a better alternative. It uses the
  Linux Hardware Monitoring kernel API (hwmon), so the temperature is returned
  the same way and using the same tools as other sensors.

  Loading this module is as easy as creating a file in the /etc/modules-load.d
  directory:

    echo drivetemp > /etc/modules-load.d/drivetemp.conf

-- Aurelien Jarno <aurel32@debian.org>  Tue, 02 Feb 2021 20:27:44 +0100

1.So, which paths are these with you?
2.What does the terminal return:

$ for m in /sys/class/hwmon/* ; do echo -n "$m = " ; cat $m/name ; done

Online

#1477 2021-03-23 06:50:48

Colonel Panic
Member
Registered: 2018-11-13
Posts: 1,406

Re: Show us your conky

Thanks for the info, I'll give that a try sometime soon.

Online

#1478 2021-03-29 09:09:25

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

Re: Show us your conky

Sector11 wrote:
unklar wrote:

@bronto-distri-lxde-openbox  big_smile

https://i.imgur.com/nurPF81t.png

Love the conky  Care to share?
Conky thread of course.  big_smile

Here you go, my friend  smile

vertical

-- pkill -xf "conky -c /home/unklar/S11/cmus_conkyrc" &
-- @unklar 2020-01-02; 2021-03-16
conky.config = {

	use_xft = true,
--xftfont Input Mono:size=8
--xftfont monofur:size=9
--xftfont monospace:size=8
--xftfont DejaVu Sans Mono:size=8.5
	font = 'Hack-Regular:size=8',
	xftalpha = 0.8,
	text_buffer_size = 2048,

	update_interval = 1,

	total_run_times = 0,

	own_window = true,
	own_window_transparent = true,
	own_window_type = 'normal',
	own_window_hints = 'undecorated,below,skip_taskbar,skip_pager',--sticky,
--own_window_argb_visual yes
--own_window_argb_value 150

--default_bar_size 0 5
	draw_shades = false,
	draw_outline = false,
	draw_borders = false,
	stippled_borders = 0,
--border_inner margin 5
	border_width = 1,

	default_color = '#ffffff',
--default_shade_color 000000
--default_outline_color ffffff
--own_window_colour 333333
	color1 = '#778899', --#66FFFF',
	color9 = '#C0C0C0',

--alignment top_left
--alignment top_right
--alignment bottom_left
--alignment bottom_right
	alignment = 'middle_right',
	minimum_width = 220, minimum_height = 650,
	maximum_width = 220,
	gap_x = 20,
	gap_y = 100,

	double_buffer = true,
	no_buffers = true,
	uppercase = false,
	cpu_avg_samples = 2,
	net_avg_samples = 2,
	override_utf8_locale = true,
	use_spacer = 'none',
	imlib_cache_size = 0,

----LUA----	
	lua_load = '~/LUA/draw-bg.lua',
	
--%C+%t+%w+%P+%h

};

conky.text = [[
${goto 40}${font LED_mono:size=30}${color1}88:88:88${goto 40}${color9}${time %T}${color}${font}

${lua conky_draw_bg 10 0 0 0 0 0x000000 0.4}
Kernel
===
 |
 |   ${nodename}
 |   ${kernel}
 |
Weather
 |
 |
   +  ${goto 5}${texeci 1200 curl 'wttr.in/lichtenstein_sachsen?q?0T?Q'}
 |  
 |
Mail
 |
 |   Unread:
 |
System
 |
 |   System: ${goto 100}${cpu cpu0} | ${cpu cpu1} | ${cpu cpu2} | ${cpu cpu3} 
 |   Entropy:${goto 100}${entropy_avail} / ${entropy_poolsize} - ${entropy_perc}%
 |   CPU Temp:${goto 100}${hwmon 2 temp 2}°  GPU Temp: ${hwmon 0 temp 1}°
 |   root:${goto 100}${fs_free /root} / ${fs_size /root}
 |   RAM:${goto 100}${exec free -h --si | awk 'NR==2{printf $3}'}${goto 148} / ${memmax}
 |   Boot: ${goto 100}${execi 86400 who -b | cut -c23-}
 |   load:${goto 100}${loadavg}
 |
Net
 |
 |   Up:${goto 100}${upspeedf enp2s0}${goto 170}${totalup enp2s0} 
 |   DL:${goto 100}${downspeedf enp2s0}${goto 170}${totaldown enp2s0}
 |
Processes
 |
 |   NAME ${goto 160}PID ${goto 200}TOP   
 |   ${top name 1} ${alignr} ${top pid 1} ${top cpu 1}
 |   ${top name 2} ${alignr} ${top pid 2} ${top cpu 2}
 |   ${top name 3} ${alignr} ${top pid 3} ${top cpu 3}
 |   ${top name 4} ${alignr} ${top pid 4} ${top cpu 4}
 |   ${top name 5} ${alignr} ${top pid 5} ${top cpu 5}
 |
===
${font monofur:size=9}${alignc}Conky v${conky_version}${font}
]];

horizontal 1920x1080 (and, tell me if you get correct values at downspeed and upspeed  lol  )

conky.config = {
-- pkill -xf "conky -c /home/unklar/S11/cmus_conkyrc9" &
-- @unklar 2020-01-17; v10 2020-08-18

	use_xft = true,
--xftfont Input Mono:size=8
--xftfont monofur:size=9
--xftfont monospace:size=8
--xftfont DejaVu Sans Mono:size=8.5
	font = 'Hack-Regular:size=8',
	xftalpha = 0.8,
	text_buffer_size = 2048,

	update_interval = 1,

	total_run_times = 0,

	own_window = true,
	own_window_transparent = true,
	own_window_type = 'normal',
	own_window_hints = 'undecorated,below,skip_taskbar,skip_pager',
--own_window_argb_visual yes
--own_window_argb_value 150

--default_bar_size 0 5
	draw_shades = false,
	draw_outline = false,
	draw_borders = false,
	stippled_borders = 0,
--border_inner margin 5
	border_width = 1,

	default_color = 'ffffff',
--default_shade_color 000000
--default_outline_color ffffff
--own_window_colour 333333
	color1 = '66FFFF',

--alignment top_left
--alignment top_right
	alignment = 'bottom_left',
--alignment bottom_right
--alignment middle_right
	minimum_width = 1900, minimum_height = 10,
	maximum_width = 1900,
	gap_x = 10,
	gap_y = 10,

	double_buffer = true,
	no_buffers = true,
	uppercase = false,
	cpu_avg_samples = 2,
	net_avg_samples = 2,
	override_utf8_locale = true,
	use_spacer = 'none',
	imlib_cache_size = 0,
	
-----LUA-----
	lua_load = '~/LUA/draw-bg.lua',


};

conky.text = [[
${lua conky_draw_bg 10 0 0 0 0 0x000000 0.4}\
${goto 5}${nodename} | ${kernel} \
${goto 265}|| Weather: ${font DejaVu Sans:size=8}${execpi 1200 curl -s 'wttr.in/lichtenstein_sachsen?format=+%c+%t+%w+%P+%h+%m'}${font} \
${goto 560}|| £ ${execpi 1200 curl gbp.rate.sx/1eur?TFq -s | cut -c1-5}  € ${execpi 1200 curl eur.rate.sx/1gbp?TFq -s | cut -c1-5} \
${goto 680}|| System: ${cpu cpu1} | ${cpu cpu2} | ${cpu cpu3} | ${cpu cpu4} \
${goto 860}| Entropy: ${entropy_avail} / ${entropy_poolsize} - ${entropy_perc} %\
${goto 1050}| GPU Temp: ${hwmon 0 temp 1}°\
${goto 1140}| root: ${fs_free /root} / ${fs_size /root}\
${goto 1310}| RAM: ${exec free -h --si | awk 'NR==2{printf $3}'} \
${goto 1400}| load: ${loadavg} \
${goto 1560}|| Net  Up: ${upspeedf enp2s0} \
${goto 1670} DL: ${downspeedf enp2s0} \
${goto 1750}|| Boot: ${execi 86400 who -b | cut -c23-} 
]];

Online

#1479 2021-03-29 13:00:46

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

Re: Show us your conky

Thank you unklar.

I wanted to check out the weather portion of the conky.
It does not match my little "bash" version off wttr weather

Bash aliases:

alias caba='curl wttr.in/buenos+aires?format="+Buenos+Aires,+Argentina\n+%C\n+T:+%t+ST:+%f+Hum:+%h\n+Wind:+%w+BAR:+%P+Rain:+%p\n+Dawn:+%D+SunRise:+%S\n+Zenith:+%z\n+Sunset:+%s+Dusk:+%d\n"'

alias caba2='curl wttr.in/Buenos_Aires_Argentina?q?0T?Q'

conky:

Weather
 |
 |
   +  ${goto 5}${texeci 1200 curl 'wttr.in/buenos+aires+argentina?q?0T?Q'}
 |
 |
${texeci 1200 curl 'wttr.in/buenos+aires?format=+Buenos+Aires,+Argentina\n+%C\n+T:+%t+ST:+%f+Hum:+%h\n+Wind:+%w+BAR:+%P+Rain:+%p\n+Dawn:+%D+SunRise:+%S\n+Zenith:+%z\n+Sunset:+%s+Dusk:+%d\n'}
 |
Net
 |
 |   Up:${goto 100}${upspeedf enp6s0}${goto 170}${totalup enp6s0}
 |   DL:${goto 100}${downspeedf enp6s0}${goto 170}${totaldown enp6s0}
 |
===
${alignc}Conky v${conky_version}

The net function
Have no idea is conky is correct or not but have always used it.  See my vnstat conky.
2021-03-29-095557-S11.jpg


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#1480 2021-03-29 19:53:49

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

Re: Show us your conky

^^"The ways of the Lord are unsearchable."  big_smile

Works for me

curl 'wttr.in/buenos_aires_argentina?q?0T?Q'
      \   /     Sunny
       .-.      21 °C          
    ― (   ) ―   ↖ 3 km/h       
       `-’      10 km          
      /   \     0.0 mm         

XvjHxsxt.png

Online

Board footer

Powered by FluxBB