Page 6 of 9
Re: Modular Papirus Conky Idea
Posted: Thu Jan 30, 2025 9:20 pm
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 
Re: Modular Papirus Conky Idea
Posted: Thu Jan 30, 2025 11:23 pm
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!

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.

Re: Modular Papirus Conky Idea
Posted: Thu Jan 30, 2025 11:38 pm
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!

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.
Re: Modular Papirus Conky Idea
Posted: Fri Jan 31, 2025 7:34 pm
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..
Re: Modular Papirus Conky Idea
Posted: Sat Feb 01, 2025 9:55 am
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:

Re: Modular Papirus Conky Idea
Posted: Sat Feb 01, 2025 10:55 am
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:
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!

Re: Modular Papirus Conky Idea
Posted: Sat Feb 01, 2025 11:08 pm
by i_ri
AVLinux
Would you wish to treat yourself to conky function $nvidia numbers GPU icon conky? if
Re: Modular Papirus Conky Idea
Posted: Sun Feb 02, 2025 6:14 pm
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..
Re: Modular Papirus Conky Idea
Posted: Sun Feb 02, 2025 6:20 pm
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..

Re: Modular Papirus Conky Idea
Posted: Mon Feb 03, 2025 2:06 am
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}
]];