Modular Papirus Conky Idea

For issues with MX that has been modified from the initial install. Example: adding packages that then cause issues.
Message
Author
User avatar
asqwerth
Developer
Posts: 7963
Joined: Sun May 27, 2007 5:37 am

Re: Modular Papirus Conky Idea

#51 Post by asqwerth »

@ceeslans I tried the transbg.lua script. Interesting that if you increase the opacity, the background window gets darker/more opaque, but it makes the actual icon images get duller, presumably because it's like you're overlaying a darker glass sheet over the image. In the end, I had to stick to alpha = 0.25 for an optimal balance between opacity of the background and image's colour vibrancy. At that setting, I think there's only a slight improvement over using the bg.lua script.

Meanwhile for my own use, I added a small clock using damo's customisable "clock lua script + clock settings file", from bunsenlabs forum:
clock-modulus.png

It's probably overkill for your Modulus conky set, though, @AVLinux :p
You do not have the required permissions to view the files attached to this post.
Desktop: Intel i5-4460, 16GB RAM, Intel integrated graphics
Clevo N130WU-based Ultrabook: Intel i7-8550U (Kaby Lake R), 16GB RAM, Intel integrated graphics (UEFI)
ASUS X42D laptop: AMD Phenom II, 6GB RAM, Mobility Radeon HD 5400

User avatar
AVLinux
Posts: 3039
Joined: Wed Jul 15, 2020 1:15 am

Re: Modular Papirus Conky Idea

#52 Post by AVLinux »

Here's an info terminal idea..
shot-2025-01-30_23-14-18.jpg
I need to let it marinate for a few days... Even the kernel string was too long so IDK how valuable an addition it is with the info it includes..

@asqwerth Haha, looks great! I'm still adjusting Phase 1, I haven't even integrated your cool weather Conky yet! :bagoverhead: I do think because it's modular it's pretty open to the individual embellishing it though..

I took some hints from @ceeslans and modified the Home folder images to allow for a larger percentage text as well as better bar alignment and my sizes were a bit off..

Side note: I've been testing Bodhi Linux in a VM and I'm in love with the earthy green 'Moksha' Vibe, I built the Ultraskeuo GTK theme and tuned my Enlightenment palette and spun up a Bodhi-like wallpaper and some matching Papirus Icons.. thanks again @Melber. Shown are Enlightenment, GTK3, GTK4 and QT5 apps.


Image
You do not have the required permissions to view the files attached to this post.

User avatar
asqwerth
Developer
Posts: 7963
Joined: Sun May 27, 2007 5:37 am

Re: Modular Papirus Conky Idea

#53 Post by asqwerth »

AVLinux wrote: Thu Jan 30, 2025 11:23 pm Here's an info terminal idea..

shot-2025-01-30_23-14-18.jpg

I need to let it marinate for a few days... Even the kernel string was too long so IDK how valuable an addition it is with the info it includes..
The text within the terminal is hard to make out that that small size. Perhaps the text colour should be a brighter, higher contrast one?
@asqwerth Haha, looks great! I'm still adjusting Phase 1, I haven't even integrated your cool weather Conky yet! :bagoverhead: I do think because it's modular it's pretty open to the individual embellishing it though..
.... took some hints from @ceeslans and modified the Home folder images to allow for a larger percentage text as well as better bar alignment and my sizes were a bit off..
Definitely open to personal embellishment. If you want to look over the clock conky and lua script, let me know. But it's not made with any Papirus icon so it doesn't exactly keep to the overall theme of the conky set.

And ceeslans' graphic for the Home conky was certainly more balanced. He has much conky-fu and good taste.
Desktop: Intel i5-4460, 16GB RAM, Intel integrated graphics
Clevo N130WU-based Ultrabook: Intel i7-8550U (Kaby Lake R), 16GB RAM, Intel integrated graphics (UEFI)
ASUS X42D laptop: AMD Phenom II, 6GB RAM, Mobility Radeon HD 5400

User avatar
AVLinux
Posts: 3039
Joined: Wed Jul 15, 2020 1:15 am

Re: Modular Papirus Conky Idea

#54 Post by AVLinux »

The Papirus terminal Icon with the prompt removed is essentially a dark grey square... I tried to warm it up and make it more 'analog' looking with bakelite brown undertones and some toplighting... Oh I know I'm sinning against the Flat gods with a lighting effect but it improves it.. I don't know if it's worth the screen space though... It now shows hostname, DE, arch and init
shot-2025-01-31_19-25-33.jpg
I'l put up another Zip soon with the visual refinements..
You do not have the required permissions to view the files attached to this post.

User avatar
ceeslans
Posts: 832
Joined: Sun Apr 14, 2019 3:48 am

Re: Modular Papirus Conky Idea

#55 Post by ceeslans »

AVLinux wrote: Thu Jan 30, 2025 8:25 pm<snip>
WiFi Icon looks good, I wanted something that wasn't connection type specific..
for personal use, I've colored up a knemo-network icon (from Papirus icon theme) and used this for netrc widget when on ethernet.
It could of course be used for both connection types...

Fwiw, I've scripted selection for separate background-image setting in netrc config with "if_match" expressions :

Code: Select all

#BACKGROUND IMAGE
${if_match "${execp cat /sys/class/net/eth0/operstate}"=="up"}\
${voffset 0}${image ~/.conky/Modulus/images/conky_network-knemo.png -p 7,7 -s 64x64}\
${else}${if_match "${execp cat /sys/class/net/wlan0/operstate}"=="up"}\
${voffset 0}${image ~/.conky/Modulus/images/conky_network-wifi.png -p 12,18 -s 54x54}\
${endif}${endif}
probably needs to be extended with if/match lines for 'wlan1' and 'eth1' --> but those are not on my machine.

mockup image:
Image
Sony Vaio VPCF23P (2011), Intel Core i7-2670, 6gb RAM, 240gb SSD, MX-Linux 23 based Fluxbox v/1.3.7+
Lenovo Thinkpad L560 (2016), Intel Core i5-6200, 16gb RAM, 240gb SSD, Devuan Daedalus based Fluxbox v/1.3.7+

User avatar
AVLinux
Posts: 3039
Joined: Wed Jul 15, 2020 1:15 am

Re: Modular Papirus Conky Idea

#56 Post by AVLinux »

ceeslans wrote: Sat Feb 01, 2025 9:55 am
AVLinux wrote: Thu Jan 30, 2025 8:25 pm<snip>
WiFi Icon looks good, I wanted something that wasn't connection type specific..
for personal use, I've colored up a knemo-network icon (from Papirus icon theme) and used this for netrc widget when on ethernet.
It could of course be used for both connection types...

Fwiw, I've scripted selection for separate background-image setting in netrc config with "if_match" expressions :

Code: Select all

#BACKGROUND IMAGE
${if_match "${execp cat /sys/class/net/eth0/operstate}"=="up"}\
${voffset 0}${image ~/.conky/Modulus/images/conky_network-knemo.png -p 7,7 -s 64x64}\
${else}${if_match "${execp cat /sys/class/net/wlan0/operstate}"=="up"}\
${voffset 0}${image ~/.conky/Modulus/images/conky_network-wifi.png -p 12,18 -s 54x54}\
${endif}${endif}
probably needs to be extended with if/match lines for 'wlan1' and 'eth1' --> but those are not on my machine.

mockup image:
Image
Great stuff! You are the Master!

I'm going to put out an update to the base set this weekend that better meets the @ceeslans QC standard and then I have to move on to other things, I love the community here, so many talented people and such good collaborative spirit! :hug:

User avatar
i_ri
Posts: 1106
Joined: Tue Jun 30, 2015 12:26 am

Re: Modular Papirus Conky Idea

#57 Post by i_ri »

AVLinux
Would you wish to treat yourself to conky function $nvidia numbers GPU icon conky? if

User avatar
AVLinux
Posts: 3039
Joined: Wed Jul 15, 2020 1:15 am

Re: Modular Papirus Conky Idea

#58 Post by AVLinux »

i_ri wrote: Sat Feb 01, 2025 11:08 pm AVLinux
Would you wish to treat yourself to conky function $nvidia numbers GPU icon conky? if
Haha,

I see that option is available... I really hate my nVidia card on Linux though, I'd rather not see it's stats and have it constantly reminding me how big a mistake I made..

User avatar
AVLinux
Posts: 3039
Joined: Wed Jul 15, 2020 1:15 am

Re: Modular Papirus Conky Idea

#59 Post by AVLinux »

@ceeslans

I can't seem to find that knemo-network Icon like you have... Any change of hooking me up with either an SVG or a 512x512 PNG? What the heck maybe your rc file as well since you have it so nicely formatted already.. :happy:

User avatar
ceeslans
Posts: 832
Joined: Sun Apr 14, 2019 3:48 am

Re: Modular Papirus Conky Idea

#60 Post by ceeslans »

The knemo-network-transmit-receive.svg ultimately links to /usr/share/icons/Papirus/24x24/panel/knemo-monitor-idle.svg ... that's included in attached archive.
Also both wifi and arrows .png's in 512x512px format are included, in case you would like to display different connection-type signs for wireless and ethernet.

I've edited your 'netrc' mostly only in the conky.text section.
Please note that I've changed paths for image folder (and lua script folder too) from 'Modulus-Desktop' to 'Modulus-Laptop', since these are existing and populated.

Code: Select all

--Modulus Net Conky by AVLinux
--Utilizes the following font: Red Hat Text

conky.config = {
	background = true,
	cpu_avg_samples = 2,
	default_color = '#ffffff', --predominant color (white)
	color2 = '#249E28', -- green upspeed color
        color3 = '#F8391D', -- red downspeed color
        color4 = '#787878', -- grey
 	double_buffer = true,
	font = 'Red Hat Text:Bold:size=8',
	draw_shades = false,
        gap_x =-100,
	gap_y =80,
        border_inner_margin = 0,
        border_width = 0,
	no_buffers = true,
        own_window = true,
        own_window_type = 'normal',
        own_window_hints  = 'sticky,undecorated,skip_taskbar,skip_pager,below',
        own_window_argb_visual = true,
        own_window_argb_value = 35, -- This controls opacity (Range 0-255)
				--#own_window_title = 'SysStatsConky',        
        own_window_title = 'SysStatsNetConky',
	update_interval = 1.0,
	use_xft = true,
        if_up_strictness = 'address',
	maximum_width = 80,
	minimum_width = 80, 
        --minimum_height = 80,
	alignment = 'top_middle',

---## ceeslans added config:
	short_units = true,
	border_outer_margin = 0,	# ceeslans likes a 2px outer border :)
	
lua_load = '~/.conky/Modulus-Laptop/LUA/draw_bg.lua',
		--#lua_load = '~/.conky/Modulus-Desktop/LUA/draw_bg.lua',
lua_draw_hook_pre = 'draw_bg',

};

conky.text = [[
#BACKGROUND IMAGE (Comment out if you just want the text w/o BG)
#${voffset 0}${image ~/.conky/Modulus-Laptop/conky_network-knemo.png -p 7,7 -s 64x64}
#NET_STATS
#${voffset 6}${color2}${goto 10}${upspeedf $gw_iface}Kb 
#${voffset 10}${color3}${goto 32}${downspeedf $gw_iface}Kb
#${voffset 20}${alignc}${color4}${upspeedgraph $gw_iface 10, 35 000000 00870C -l  -t} ${color4}${downspeedgraph $gw_iface 10, 35 000000 B00000  -l -t}
#${voffset -14}
\
#BACKGROUND IMAGE (Comment out if you just want the text w/o BG)
${if_match "${execi 30 cat /sys/class/net/eth0/operstate}"=="up"}\
${voffset 0}${image ~/.conky/Modulus-Laptop/conky_network-knemo.png -p 7,7 -s 64x64}\
${else}${if_match "${execi 30 cat /sys/class/net/wlan0/operstate}"=="up"}\
${voffset 0}${image ~/.conky/Modulus-Laptop/conky_network-wifi.png -p 12,18 -s 54x54}\
${endif}${endif}
#NET_STATS
${voffset -10}${color}${alignc}${gw_iface} 
${voffset 42}${color2}${goto 8}${upspeed $gw_iface}
${voffset -15}${color3}${alignr 4}${downspeed $gw_iface}
${voffset 1}${alignc}${color4}${upspeedgraph $gw_iface 10,32 000000 00870C -l -t}  ${color4}${downspeedgraph $gw_iface 10,34 000000 B00000 -l -t}
${voffset -12}
]];
You do not have the required permissions to view the files attached to this post.
Sony Vaio VPCF23P (2011), Intel Core i7-2670, 6gb RAM, 240gb SSD, MX-Linux 23 based Fluxbox v/1.3.7+
Lenovo Thinkpad L560 (2016), Intel Core i5-6200, 16gb RAM, 240gb SSD, Devuan Daedalus based Fluxbox v/1.3.7+

Post Reply

Return to “MX Modified”