You are not logged in.

#1101 2019-07-06 17:39:56

Sector11
The Tpyo Knig Mod
From: 77345 ¡#
Registered: 2015-08-20
Posts: 5,528

Re: Show us your conky

damo wrote:
Sector11 wrote:

To conquer conky...

conkystador ~ noun
1. an avid user of the program conky that will conquer any problem the program may throw at them.

As long as Conky --version < 1.10  tongue  kiss

No not true, there are some "conkystadores" out there that put me to shame.

I'm just a layout guy that likes and prefers some of the v1.9 advantages that v1.10 removes.


BunsenLabs Forum Rules ---== I'm a Conky 1.9'er ==---
System:    Host: d67 Kernel: 4.9.0-9-amd64 x86_64 (64 bit gcc: 6.3.0)
Desktop: Openbox 3.6.1 Distro: Debian GNU/Linux 9 (stretch)

Offline

#1102 2019-07-08 13:08:46

ragamatrix
Member
Registered: 2015-10-04
Posts: 406

Re: Show us your conky

Hello, I played with gimp and neon numbers to do a clock... But it's still an idea don't know how it'll become may be awfull just testing...
big size example (it will be smaller in conky big_smile ):
2_bleu.th.png
https://transfer.sh/14DDTR/NeonNumbersM … ors.tar.gz

Last edited by ragamatrix (2019-07-08 13:15:49)

Offline

#1103 2019-07-08 19:15:49

loutch
Member
Registered: 2015-12-12
Posts: 346

Re: Show us your conky

Hello



ragamatrix wrote:

Hello Sector11 and Loutch,
I've tried this clock:
https://cdn.scrot.moe/images/2019/07/04/SteamPunkClock.png
But I don't understand how to display seconds, and I also would like to display only the numbers (without the background) ?  ops

I found it from my older saving from Mageia5 kde

work great in xubuntu with the old syntax


1562613171.png

1562613197.png


conkyrc

 
 
background yes
use_xft yes
xftfont URW Chancery L:style=Bold:size=11
xftalpha 1
update_interval 1.0
total_run_times 0
own_window yes
own_window_transparent yes
own_window_argb_visual yes
own_window_type normal
own_window_hints undecorated,below,skip_taskbar,skip_pager
double_buffer yes
text_buffer_size 2048
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no
default_color 38392a
default_outline_color white
alignment top_left
gap_x 460
gap_y 50
no_buffers yes
uppercase no
cpu_avg_samples 2
override_utf8_locale yes



#minimum_size 128 70
minimum_size 260 118

lua_load ~/.conky/lua/image.lua

TEXT

${lua fDrawImage $HOME/.conky/karamba/images/heureseconde.png 15 12 250 100}\ 
${lua fDrawImage $HOME/.conky/karamba/images/Reflection.png -6 0 390 122}\
${execpi 1 ~/.conky/karamba/heureseconde.sh 1}

heureseconde.sh

#!/bin/bash
## ohnonot - Mon 05 Dec 2016
gap="$1" #the gap between hours and minutes

time="$(date +%H%M%S)"

numpath="/home/loutch/.conky/karamba/images"

echo "\${image ${numpath}/1-${time:0:1}.png -p 32,20}\
\${image ${numpath}/1-${time:1:1}.png -p 62,20}\
\${image ${numpath}/1-${time:2:1}.png -p 101,20}\
\${image ${numpath}/1-${time:3:1}.png -p 132,20}\
\${image ${numpath}/1-${time:4:1}.png -p 173,20}\
\${image ${numpath}/1-${time:5:1}.png -p 203,20}"

here without the background

1562613532.png

Last edited by loutch (2019-07-08 19:20:31)


Linuxmint 19.1 Tessa cinnamon & mageia 7 mate on ssd hp pavilion g7
Xubuntu 18.04 lts & 19.04 xfce on ASUS Rog STRIX

Offline

#1104 2019-07-09 01:51:24

MrEd
Member
Registered: 2018-06-26
Posts: 27

Re: Show us your conky

Good evening,
I hope my creation finds the eyes of Sector11 and Teo, and possibly do something outrageous to it haha
I say this because I've finnally tracked you guys to your home base looking for working weather & moon conkys awhile back,
signed up, and I've been watching in the forums for awhile now looking at some of the cool conky stuff ALL of you do when I get the chance.

Sector11 & Teo have inspired an idea in me a couple months ago and I set out to do it, did it, then went "hey... I can make it better..."
I got stuck, and came here because I was getting a little fancier than I was ready for but thanks to damo & unklar rescue services, I was able to complete my task and thus freeing up space in my head until I got it out..."lol, I was running out of brain space"

This spot on my conky monitor was originally for a moon script .conkyrc_4_Moon_S11_V2 but something in it was making the window act all goofy and just hadn't got to it to fix it, It works, I think it's just my desktop and need to make a few adjustments to the images positions.

OK, now that I've gotten the brown noseing out of the way LMAO

I switched to Archlinux as my everyday system saying GOODBYE to win garbage forever a couple years ago.
My system is however in a crossover from antergOS to endeavourOS, so some things running wierd but ok, but thanks to conky, this is how I notice things, I love stats, love conky...[trails off talking about needing 3rd monitor]

Anyway,
I'd like to introduce Conky-Sandwich_v3

With the help of unklar & damo, I've reached working version of the magnatude I was striving for....

Here is an excerpt from the readme....be sure to read the whole readme file!

What is Conky-Sandwich?
It is a useless creation designed to distract you LMAO

Well, originally it started with just pictures of delicious yummy sandwiches.
On different day of month it would get a picture of a sandwich.
I couldn't stop there so I figured if can get the image, why not the recipe,
or screenshot of a webpage with the recipe so you can look it up if it looks yummy enough.

Well that expanded into getting 4 yummy images every day of the month,
and then change the image every 15 Minutes.

It goes out and screenshots a webpage and saves it as an image file for conky to resize
and display it.

Here is a shot of my desktop with Conky-Sandwich_v1

tdbCkEe.jpg

Here is the video Of Conky-Sandwich_v3

Link to video
https://www.youtube.com/watch?v=mFydi0q … e=youtu.be
This post has been long enough, so I hope you all take my jests with stride, maybe it's the vodka idk LMAO

Here is the conky in my dropbox, I'll let you look, judge, tell me what you think.
although having showed the video to a few people the first thing they said was. "Does it show the whole/download recipe?"

The screenshot conversion tool will let you convert a site to pdf....so I was thinking download to a folder, or even email you the pdf?

https://www.dropbox.com/s/z0mbsy4bwmowc … 3.zip?dl=0

--Conky-Sandwich - A Useless Creation by Mr Ed 2019
--A food window display for conky
--Using Archlinux-Antergos/EndeavourOS an in-between thing lol
--At this time Food network has,
--765 pages of sandwiches related recipes
--457 pages of burgers related recipes
--421 pages of pizza related recipes
--If there was 31 days in every month, conky-sandwich can display 372 yummy images
--4 per day every day of the month
requires install wkhtmltopdf for html to pdf and image, it's in the repo

Last edited by MrEd (2019-07-09 16:35:09)


MSI B85M-G43 * Dualcore 3.3GHz *-12GB ram * GT740 4GB video * Logitech USB-Marble Mouse=Trackball * System - ArchLinux-Antergos, KDE Plasma Desktop - Conky 1.10

Offline

#1105 2019-07-09 03:28:18

Sector11
The Tpyo Knig Mod
From: 77345 ¡#
Registered: 2015-08-20
Posts: 5,528

Re: Show us your conky

Hmmmmmmmmm does not work for me: Conky v1.9

${alignc}${color9}${swapbar 0,30}${color} ↓ Conky v${conky_version} test code ↓ ${color9}${swapbar 0,30}${color}
${color9}${swapbar 0}${color}
${time %d %m %y %H:%M:%S}
${execpi 1 /media/5/Conky/SuperKaramba/scripts/TS11-DD-MM-YY.sh 1}





${color9}${swapbar 0}${color}
${alignc}${color9}${swapbar 0,30}${color} ↑ between lines ↑ ${color9}${swapbar 0,30}${color}
#!/bin/bash

gap="$1"  ## the gap between hours and minutes

time="$(date +%d%m%y)"

numpath="/media/5/Conky/SuperKaramba/numbers"

echo "\${image ${numpath}/1-${time:0:1}.png -p 30,350}\
\${image ${numpath}/1-${time:1:1}.png -p 60,350}\
\${image ${numpath}/1-${time:2:1}.png -p 90,350}\
\${image ${numpath}/1-${time:3:1}.png -p 120,350}\
\${image ${numpath}/1-${time:4:1}.png -p 140,350}\
\${image ${numpath}/1-${time:5:1}.png -p 180,350}"

2019-07-09_002651_Scrot11.jpg


BunsenLabs Forum Rules ---== I'm a Conky 1.9'er ==---
System:    Host: d67 Kernel: 4.9.0-9-amd64 x86_64 (64 bit gcc: 6.3.0)
Desktop: Openbox 3.6.1 Distro: Debian GNU/Linux 9 (stretch)

Offline

#1106 2019-07-09 03:31:52

Sector11
The Tpyo Knig Mod
From: 77345 ¡#
Registered: 2015-08-20
Posts: 5,528

Re: Show us your conky

MrEd wrote:

Good evening,
I hope my creation finds the eyes of Sector11 and Teo, and possibly do something outrageous to it haha
I say this because I've finnally tracked you guys to your home base looking for working weather & moon conkys awhile back,

Good evening MrEd ...
Why does that name ring a bell.  No no, not the talking horse but the name.

Nice looking setup you have there. And that sandwich is a heart-stopper.  mmmmmmmmmm


BunsenLabs Forum Rules ---== I'm a Conky 1.9'er ==---
System:    Host: d67 Kernel: 4.9.0-9-amd64 x86_64 (64 bit gcc: 6.3.0)
Desktop: Openbox 3.6.1 Distro: Debian GNU/Linux 9 (stretch)

Offline

#1107 2019-07-09 03:40:23

Sector11
The Tpyo Knig Mod
From: 77345 ¡#
Registered: 2015-08-20
Posts: 5,528

Re: Show us your conky

loutch wrote:

Hello

I found it from my older saving from Mageia5 kde

work great in xubuntu with the old syntax

BTW this is how I got the day/month/year to work (Conky v1.9)

TEXT
${image /media/5/Conky/SuperKaramba/images/DDMMYY_Clock.png -p 0,0}\
${execpi 5 /media/5/Conky/SuperKaramba/scripts/S11-DD-MM-YY.sh}\
${execpi 5 /media/5/Conky/SuperKaramba/scripts/S11-MM-YY.sh}

/media/5/Conky/SuperKaramba/scripts/S11-DD-MM-YY.sh

#!/bin/bash
##

##
## date command:
##   %d   day of month (e.g., 01)
##   %m   month (01..12)
##   %y   last two digits of year (00..99)

gap="$1" #the gap between hours and minutes
time="$(date +%d%m)"
#day="$(date +%d%m%y)"
#month="$(date +%d%m%y)"
#year="$(date +%d%m%y)"
numpath="/media/5/Conky/SuperKaramba/numbers"

echo "\${image ${numpath}/1-${time:0:1}.png -p 30,15}\
\${image ${numpath}/1-${time:1:1}.png -p 60,15}\
\${image ${numpath}/1-${time:2:1}.png -p 105,15}\
\${image ${numpath}/1-${time:3:1}.png -p 135,15}"

/media/5/Conky/SuperKaramba/scripts/S11-MM-YY.sh

#!/bin/bash
##

##
## date command:
##   %d   day of month (e.g., 01)
##   %m   month (01..12)
##   %y   last two digits of year (00..99)

gap="$1" #the gap between hours and minutes
#time="$(date +%d%m%y)"
#day="$(date +%d%m%y)"
#month="$(date +%d%m%y)"
year="$(date +%d%m%y)"

numpath="/media/5/Conky/SuperKaramba/numbers"

#echo "\${image ${numpath}/1-${time:0:1}.png -p 50,20}\
#\${image ${numpath}/1-${time:1:1}.png -p 80,20}\
#\${image ${numpath}/1-${time:2:1}.png -p 125,20}\
#\${image ${numpath}/1-${time:3:1}.png -p 255,20}"

echo "\${image ${numpath}/1-${year:4:1}.png -p 182,15}\
\${image ${numpath}/1-${year:5:1}.png -p 213,15}"

2019-07-09_003918_Scrot11.jpg


BunsenLabs Forum Rules ---== I'm a Conky 1.9'er ==---
System:    Host: d67 Kernel: 4.9.0-9-amd64 x86_64 (64 bit gcc: 6.3.0)
Desktop: Openbox 3.6.1 Distro: Debian GNU/Linux 9 (stretch)

Offline

#1108 2019-07-09 03:49:59

MrEd
Member
Registered: 2018-06-26
Posts: 27

Re: Show us your conky

[edit]
LMAO...I'm not worthy, sry for the edit but going outta my mind atm tongue

Last edited by MrEd (2019-07-09 04:43:00)


MSI B85M-G43 * Dualcore 3.3GHz *-12GB ram * GT740 4GB video * Logitech USB-Marble Mouse=Trackball * System - ArchLinux-Antergos, KDE Plasma Desktop - Conky 1.10

Offline

#1109 2019-07-09 10:03:01

ragamatrix
Member
Registered: 2015-10-04
Posts: 406

Re: Show us your conky

Thank you guys, the problem is that I'm bad with gimp (with the size numbers), but the idea is something like that:
neon-time.th.png
The archive with the numbers reduced, if someone can play better than me with ... you're welcome:
https://transfer.sh/psepM/neon-numbers.tar.gz
the conky:

conky.config = {
--# pkill -xf "conky -c /media/5/Conky/SuperKaramba/MMYY_ohnonot.conky" &

	own_window = true,
	own_window_type = 'normal',
	own_window_transparent = true,
	own_window_hints = 'skip_taskbar,skip_pager,undecorated,below,sticky',--,sticky
	own_window_colour = '#000000',
	own_window_class = 'Conky',
	--own_window_title = [[
--ohnonots's HH/MM Conky]],

	background = true,
	update_interval = 1,

	double_buffer = true,

--alignment tr
	alignment = 'top_right',
	gap_x = 10,
	gap_y = 10,


	minimum_width = 480, minimum_height = 224,

};

conky.text = [[
${execpi 10 /home/raphix/.conky/SteamPunkClock/sp-clock_2.sh 10}
${image /home/raphix/.conky/SteamPunkClock/neon-numbers/2p.png -s 140x173 -p 145,20}\

]];

Last edited by ragamatrix (2019-07-09 10:13:52)

Offline

#1110 2019-07-09 13:38:40

ragamatrix
Member
Registered: 2015-10-04
Posts: 406

Re: Show us your conky

one more test to have a really huge clock that I can read far away from the screen
glasses  big_smile
2019-07-09-15-35-08_scrot.th.png

Offline

#1111 2019-07-09 15:19:53

unklar
Member
Registered: 2015-10-31
Posts: 914

Re: Show us your conky

https://forums.bunsenlabs.org/viewtopic … 360#p88360

@loutch

c'est bizarre...
La configuration avec la syntaxe1.9 sauter souvent une seconde.
Par contre, la configuration avec syntax1.10 ne montre pas cette erreur.   big_smile

it's weird...
The configuration with the syntax1.9 often skips a second.
On the other hand, the configuration with syntax1.10 does not show this error.   big_smile

conky.config = {
--conky Originalconfiguration by @loutch 08-07-2019
--https://forums.bunsenlabs.org/viewtopic.php?pid=88360#p88360
	background = true,
	use_xft = true,
	font = 'URW Chancery L:style=Bold:size=11',
	xftalpha = 1,
	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',
	own_window_argb_visual = true,
--own_window_argb_value = 150,
--own_window_class = 'Conky',
	double_buffer = true,
	text_buffer_size = 2048,
	draw_shades = false,
	draw_outline = false,
	draw_borders = false,
	draw_graph_borders = false,
	default_color = '#38392a',
	default_outline_color = 'white',
	alignment = 'top_right',  --left',
	gap_x = 300,
	gap_y = 0,
	no_buffers = true,
	uppercase = false,
	cpu_avg_samples = 2,
	override_utf8_locale = true,



--minimum_size 128 70
	minimum_width = 260, minimum_height = 118,

--lua_load = '~/.conky/lua/image.lua',

};

conky.text = [[

#${image $HOME/.conky/superkaramba/images/clock.png 15 12 250 100} 
#${image $HOME/.conky/superkaramba/images/Reflection.png -6 0 390 122}
${execpi 1 $HOME/.conky/superkaramba/loutch_Version/heureseconde.sh 1}
]];

e.g. here
1.10-->karamba1.th.png 1.9-->karamba2.th.png

Last edited by unklar (2019-07-09 17:28:37)

Offline

#1112 2019-07-09 18:28:23

loutch
Member
Registered: 2015-12-12
Posts: 346

Re: Show us your conky

@ unklar

bei mihr ist alles ok mit der alte syntax

1562696843.png


console

conky -c ~/.conky/karamba/heureseconde
conky: Syntax error (/home/loutch/.conky/karamba/heureseconde:3: '=' expected near 'yes') while reading config file. 
conky: Assuming it's in old syntax and attempting conversion.
conky: desktop window (800009) is subwindow of root window (28a)
conky: window type - normal
conky: drawing to created window (0x4a00002)
conky: drawing to double buffer
conky: forked to background, pid is 7775

Last edited by loutch (2019-07-09 18:33:53)


Linuxmint 19.1 Tessa cinnamon & mageia 7 mate on ssd hp pavilion g7
Xubuntu 18.04 lts & 19.04 xfce on ASUS Rog STRIX

Offline

#1113 2019-07-10 05:00:12

MaDscntist
Member
Registered: 2019-02-22
Posts: 11

Re: Show us your conky

ragamatrix wrote:

one more test to have a really huge clock that I can read far away from the screen
glasses  big_smile
https://cdn.scrot.moe/images/2019/07/09/2019-07-09-15-35-08_scrot.th.png

I really love your Top bar if you can share your configs?

Offline

#1114 2019-07-10 05:33:38

MaDscntist
Member
Registered: 2019-02-22
Posts: 11

Re: Show us your conky

unklar wrote:

this works very well (Bitcoin)   big_smile

https://github.com/chubin/rate.sx

Can you help with this weather m8

https://cdn.scrot.moe/images/2018/03/09 … rot.th.png

Offline

#1115 2019-07-10 06:51:28

ragamatrix
Member
Registered: 2015-10-04
Posts: 406

Re: Show us your conky

MaDscntist wrote:
ragamatrix wrote:

one more test to have a really huge clock that I can read far away from the screen
glasses  big_smile
https://cdn.scrot.moe/images/2019/07/09/2019-07-09-15-35-08_scrot.th.png

I really love your Top bar if you can share your configs?

yes sure you just need draw_bg.lua, varishapes solid, ohsnap font and modifie the pathes:

conky.config = {
-- work in background (disabled for testing)
background = false,

-- better fonts
use_xft = true,
--xftalpha = 1,

-- update interval
update_interval = 1,
total_run_times = 0,

-- window settings
own_window = true,
own_window_transparent = true,
own_window_type = 'desktop',
own_window_hints = 'undecorated, below, sticky, skip_taskbar, skip_pager',
--own_window_argb_visual = true,
--own_window_argb_value = 0,

-- anti-flickering
double_buffer = true,

-- size
minimum_width = 1350,
minimum_height = 10,
maximum_width = 1350,

 -- shadows
draw_shades = false,
default_shade_color = 'black',

--borders
draw_outline = false,
--default_outline_color = 'D02090',
draw_graph_borders = false,

-- frame
draw_borders = false,

-- color
default_color = '778899',
color1 = 'CD2626', --Firebrick3
color2 = 'FFA500', --orange
color3 = 'FFD700', --gold
color4 = 'ADFF2F', --GreenYellow
color5 = '00CD00', --green3
color6 = '00CED1', --DarkTurquoise
color7 = '87CEEB', --SkyBlue
color8 = '1E90FF', --DodgerBlue1
color9 = 'CA99FF', --VioletRed D02090 -- 9D00FF -- magenta FF44EE

-- position
alignment = 'top_middle',
gap_x = 0,
gap_y = 10,

-- misc
no_buffers = true,
uppercase = false,
cpu_avg_samples = 2,
if_up_strictness = 'address',
use_spacer = 'none',

show_graph_range = false,
show_graph_scale = false,
--default_bar_height = 6,
--default_bar_width = 200,
text_buffer_size = 1000,
override_utf8_locale = true,
--fonts tests:
--LCDMono2
--Lucida Sans
--Neogrey
--PF Tempesta Five Condensed
--PF Tempesta Five Compressed
--Visitor TT1 BRK:Medium:size=9
--Anonymous Pro:Medium:size=8
--Commodore 64 Angled
--Terminus
font = 'ohsnap:size=8', --important for shades
--template0 = 'ohsnap:bold:size=10',
--template1 = 'ohsnap:bold:size=10',

lua_load = '~/.conky/script/draw_bg.lua',
--${lua conky_draw_bg 2 0 0 0 0 0x000000 0.224} \

}

conky.text = [[
${lua conky_draw_bg 11 0 0 0 0 0x000000 0.224} \
${color1}${exec echo '#!'}${color FF4800} Top: ${color2}${top_mem name 1}\
${goto 180}|${color3} Home: ${color EDFF00}${fs_used_perc /}% (${fs_used /} / ${fs_free /}) \
${goto 380}|${color4} Stock: ${fs_used_perc /media/stock}% \
${goto 470}|${color 32FF00} Share:${color 00FF63} ${fs_used_perc /media/share}% \
${goto 560}|${color 00FF9E} CPU Stress: ${color 00FFD5}${cpu cpu0}% | ${color7}${cpu cpu2}% \
${goto 700}|${color 00AEFF} CPU T°: ${hwmon 0 temp 1}° ${color8}${execi 300 sensors | awk '/Core 0/{gsub("+","");print $3}'} ${color 7D94FF}${execi 300 sensors | awk '/Core 2/{gsub("+","");print $3}'} \
${goto 870}|${color9} Memory: ${memperc}% ${color ED72FF}($mem) \
${color FF4095}${goto 1060}| Net:\
${voffset -3}${alignr 15}${color FF005C}${font VariShapes Solid:pixelsize=10}q${font }${color FE361A}  ${upspeedf enp0s25} (${totalup enp0s25}) \
${voffset -3} ${color FF9727}${font VariShapes Solid:pixelsize=10}Q${font }${color FFBB27} ${downspeedf enp0s25} (${totaldown enp0s25}) \

]]

Take a look here if you don't have bitmap fonts enabled:
https://forums.bunsenlabs.org/viewtopic.php?id=1473

Last edited by ragamatrix (2019-07-10 06:53:24)

Offline

#1116 2019-07-10 18:14:41

MaDscntist
Member
Registered: 2019-02-22
Posts: 11

Re: Show us your conky

ragamatrix wrote:
MaDscntist wrote:
ragamatrix wrote:

one more test to have a really huge clock that I can read far away from the screen
glasses  big_smile
https://cdn.scrot.moe/images/2019/07/09/2019-07-09-15-35-08_scrot.th.png

I really love your Top bar if you can share your configs?

yes sure you just need draw_bg.lua, varishapes solid, ohsnap font and modifie the pathes:

conky.config = {
-- work in background (disabled for testing)
background = false,

-- better fonts
use_xft = true,
--xftalpha = 1,

-- update interval
update_interval = 1,
total_run_times = 0,

-- window settings
own_window = true,
own_window_transparent = true,
own_window_type = 'desktop',
own_window_hints = 'undecorated, below, sticky, skip_taskbar, skip_pager',
--own_window_argb_visual = true,
--own_window_argb_value = 0,

-- anti-flickering
double_buffer = true,

-- size
minimum_width = 1350,
minimum_height = 10,
maximum_width = 1350,

 -- shadows
draw_shades = false,
default_shade_color = 'black',

--borders
draw_outline = false,
--default_outline_color = 'D02090',
draw_graph_borders = false,

-- frame
draw_borders = false,

-- color
default_color = '778899',
color1 = 'CD2626', --Firebrick3
color2 = 'FFA500', --orange
color3 = 'FFD700', --gold
color4 = 'ADFF2F', --GreenYellow
color5 = '00CD00', --green3
color6 = '00CED1', --DarkTurquoise
color7 = '87CEEB', --SkyBlue
color8 = '1E90FF', --DodgerBlue1
color9 = 'CA99FF', --VioletRed D02090 -- 9D00FF -- magenta FF44EE

-- position
alignment = 'top_middle',
gap_x = 0,
gap_y = 10,

-- misc
no_buffers = true,
uppercase = false,
cpu_avg_samples = 2,
if_up_strictness = 'address',
use_spacer = 'none',

show_graph_range = false,
show_graph_scale = false,
--default_bar_height = 6,
--default_bar_width = 200,
text_buffer_size = 1000,
override_utf8_locale = true,
--fonts tests:
--LCDMono2
--Lucida Sans
--Neogrey
--PF Tempesta Five Condensed
--PF Tempesta Five Compressed
--Visitor TT1 BRK:Medium:size=9
--Anonymous Pro:Medium:size=8
--Commodore 64 Angled
--Terminus
font = 'ohsnap:size=8', --important for shades
--template0 = 'ohsnap:bold:size=10',
--template1 = 'ohsnap:bold:size=10',

lua_load = '~/.conky/script/draw_bg.lua',
--${lua conky_draw_bg 2 0 0 0 0 0x000000 0.224} \

}

conky.text = [[
${lua conky_draw_bg 11 0 0 0 0 0x000000 0.224} \
${color1}${exec echo '#!'}${color FF4800} Top: ${color2}${top_mem name 1}\
${goto 180}|${color3} Home: ${color EDFF00}${fs_used_perc /}% (${fs_used /} / ${fs_free /}) \
${goto 380}|${color4} Stock: ${fs_used_perc /media/stock}% \
${goto 470}|${color 32FF00} Share:${color 00FF63} ${fs_used_perc /media/share}% \
${goto 560}|${color 00FF9E} CPU Stress: ${color 00FFD5}${cpu cpu0}% | ${color7}${cpu cpu2}% \
${goto 700}|${color 00AEFF} CPU T°: ${hwmon 0 temp 1}° ${color8}${execi 300 sensors | awk '/Core 0/{gsub("+","");print $3}'} ${color 7D94FF}${execi 300 sensors | awk '/Core 2/{gsub("+","");print $3}'} \
${goto 870}|${color9} Memory: ${memperc}% ${color ED72FF}($mem) \
${color FF4095}${goto 1060}| Net:\
${voffset -3}${alignr 15}${color FF005C}${font VariShapes Solid:pixelsize=10}q${font }${color FE361A}  ${upspeedf enp0s25} (${totalup enp0s25}) \
${voffset -3} ${color FF9727}${font VariShapes Solid:pixelsize=10}Q${font }${color FFBB27} ${downspeedf enp0s25} (${totaldown enp0s25}) \

]]

Take a look here if you don't have bitmap fonts enabled:
https://forums.bunsenlabs.org/viewtopic.php?id=1473


Oh That Top bar is a Conky. WOW so Cool. Very Awesome.


Where do i get the draw_bg.lua ? And varishapes font?

Offline

#1117 2019-07-10 19:49:03

unklar
Member
Registered: 2015-10-31
Posts: 914

Re: Show us your conky

MaDscntist wrote:
unklar wrote:

    this works very well (Bitcoin) big_smile

    https://github.com/chubin/rate.sx

Can you help with this weather m8

https://cdn.scrot.moe/images/2018/03/09 … rot.th.png

I don't understand...
what do Bitcoins have to do with the weather and what do you want with the picture of @manuel-909 ?

Offline

#1118 2019-07-10 20:19:34

Sector11
The Tpyo Knig Mod
From: 77345 ¡#
Registered: 2015-08-20
Posts: 5,528

Re: Show us your conky

I do not know why it will not work in one script for me but I finally got it doing:

DDMMYY
HHMMSS
2019-07-10_165951_Scrot11.th.jpg
OK that was fun!

The conky part that matters:

${alignc}${color9}${swapbar 0,30}${color} ↓ Conky v${conky_version} test code ↓ ${color9}${swapbar 0,30}${color}
${color9}${swapbar 0}${color}
${time %d/%m/%y}${alignr}${time %H:%M:%S}

${execpi 60 /media/5/Conky/SuperKaramba/scripts/TS11-DD.sh}
${execpi 86400 /media/5/Conky/SuperKaramba/scripts/TS11-MM.sh}
${execpi 86400 /media/5/Conky/SuperKaramba/scripts/TS11-YY.sh}
${execpi 5 /media/5/Conky/SuperKaramba/scripts/TS11-hh.sh}
${execpi 1 /media/5/Conky/SuperKaramba/scripts/TS11-mm.sh}
${execpi 0.5 /media/5/Conky/SuperKaramba/scripts/TS11-ss.sh}

${color9}${swapbar 0}${color}
${alignc}${color9}${swapbar 0,30}${color} ↑ between lines ↑ ${color9}${swapbar 0,30}${color}

Ran "TS11-ss.sh" at every 1/2 second to get the seconds running without skipping a second or two.  Hours will be up to 5 seconds late and days up to a minute late.   Check the CPU usage, not so bad for 19 conkys running, text editor running with 11 files open and of course claws_mail and FF.  I turn this beast off every night so ... blah blah blah....

The scripts are basically the same, just the parts not used are commented out.
TS11-DD.sh, TS11-MM.sh, TS11-YY.sh are like this buy moving the "#" where appropriate:

#!/bin/bash

gap="$1"

da="$(date +%d%m%y)"
#mo="$(date +%d%m%y)"
#yr="$(date +%d%m%y)"

numpath="/media/5/Conky/SuperKaramba/numbers"

echo "\${image ${numpath}/1-${da:0:1}.png -p 30,350}\
\${image ${numpath}/1-${da:1:1}.png -p 60,350}"
#echo "\${image ${numpath}/1-${mo:2:1}.png -p 90,350}\
#\${image ${numpath}/1-${mo:3:1}.png -p 120,350}"
#echo "\${image ${numpath}/1-${yr:4:1}.png -p 150,350}\
#\${image ${numpath}/1-${yr:5:1}.png -p 180,350}"

and TS11-hh.sh TS11-mm.sh TS11-ss.sh look like this, Again moving the "#" where appropriate:

#!/bin/bash

gap="$1"

hh="$(date +%H%M%S)"
#mm="$(date +%H%M%S)"
#ss="$(date +%H%M%S)"

numpath="/media/5/Conky/SuperKaramba/numbers"

echo "\${image ${numpath}/1-${hh:0:1}.png -p 30,400}\
\${image ${numpath}/1-${hh:1:1}.png -p 60,400}"
#echo "\${image ${numpath}/1-${mm:2:1}.png -p 90,400}\
#\${image ${numpath}/1-${mm:3:1}.png -p 120,400}"
#echo "\${image ${numpath}/1-${ss:4:1}.png -p 150,400}\
#\${image ${numpath}/1-${ss:5:1}.png -p 180,400}"

--->>> @ ragamatrix <<-->> next I use your numbers. <<<---


BunsenLabs Forum Rules ---== I'm a Conky 1.9'er ==---
System:    Host: d67 Kernel: 4.9.0-9-amd64 x86_64 (64 bit gcc: 6.3.0)
Desktop: Openbox 3.6.1 Distro: Debian GNU/Linux 9 (stretch)

Offline

#1119 2019-07-10 20:52:24

unklar
Member
Registered: 2015-10-31
Posts: 914

Re: Show us your conky

unklar wrote:

it's weird...
The configuration with the syntax1.9 often skips a second.
On the other hand, the configuration with syntax1.10 does not show this error.  big_smile

Sector11 wrote:

Ran "TS11-ss.sh" at every 1/2 second to get the seconds running without skipping a second or two.

BINGO my friend!
This is the solution for the syntax1.9  cool

${execpi 0.5 $HOME/.conky/superkaramba/loutch_Version/heureseconde.sh}

I'd like to bring you a good beer to Buenos Aires...   angel

Offline

#1120 2019-07-10 21:09:17

ragamatrix
Member
Registered: 2015-10-04
Posts: 406

Re: Show us your conky

Sector11 wrote:

I do not know why it will not work in one script for me but I finally got it doing:

DDMMYY
HHMMSS
https://cdn.scrot.moe/images/2019/07/10/2019-07-10_165951_Scrot11.th.jpg
OK that was fun!

The conky part that matters:

${alignc}${color9}${swapbar 0,30}${color} ↓ Conky v${conky_version} test code ↓ ${color9}${swapbar 0,30}${color}
${color9}${swapbar 0}${color}
${time %d/%m/%y}${alignr}${time %H:%M:%S}

${execpi 60 /media/5/Conky/SuperKaramba/scripts/TS11-DD.sh}
${execpi 86400 /media/5/Conky/SuperKaramba/scripts/TS11-MM.sh}
${execpi 86400 /media/5/Conky/SuperKaramba/scripts/TS11-YY.sh}
${execpi 5 /media/5/Conky/SuperKaramba/scripts/TS11-hh.sh}
${execpi 1 /media/5/Conky/SuperKaramba/scripts/TS11-mm.sh}
${execpi 0.5 /media/5/Conky/SuperKaramba/scripts/TS11-ss.sh}

${color9}${swapbar 0}${color}
${alignc}${color9}${swapbar 0,30}${color} ↑ between lines ↑ ${color9}${swapbar 0,30}${color}

Ran "TS11-ss.sh" at every 1/2 second to get the seconds running without skipping a second or two.  Hours will be up to 5 seconds late and days up to a minute late.   Check the CPU usage, not so bad for 19 conkys running, text editor running with 11 files open and of course claws_mail and FF.  I turn this beast off every night so ... blah blah blah....

The scripts are basically the same, just the parts not used are commented out.
TS11-DD.sh, TS11-MM.sh, TS11-YY.sh are like this buy moving the "#" where appropriate:

#!/bin/bash

gap="$1"

da="$(date +%d%m%y)"
#mo="$(date +%d%m%y)"
#yr="$(date +%d%m%y)"

numpath="/media/5/Conky/SuperKaramba/numbers"

echo "\${image ${numpath}/1-${da:0:1}.png -p 30,350}\
\${image ${numpath}/1-${da:1:1}.png -p 60,350}"
#echo "\${image ${numpath}/1-${mo:2:1}.png -p 90,350}\
#\${image ${numpath}/1-${mo:3:1}.png -p 120,350}"
#echo "\${image ${numpath}/1-${yr:4:1}.png -p 150,350}\
#\${image ${numpath}/1-${yr:5:1}.png -p 180,350}"

and TS11-hh.sh TS11-mm.sh TS11-ss.sh look like this, Again moving the "#" where appropriate:

#!/bin/bash

gap="$1"

hh="$(date +%H%M%S)"
#mm="$(date +%H%M%S)"
#ss="$(date +%H%M%S)"

numpath="/media/5/Conky/SuperKaramba/numbers"

echo "\${image ${numpath}/1-${hh:0:1}.png -p 30,400}\
\${image ${numpath}/1-${hh:1:1}.png -p 60,400}"
#echo "\${image ${numpath}/1-${mm:2:1}.png -p 90,400}\
#\${image ${numpath}/1-${mm:3:1}.png -p 120,400}"
#echo "\${image ${numpath}/1-${ss:4:1}.png -p 150,400}\
#\${image ${numpath}/1-${ss:5:1}.png -p 180,400}"

--->>> @ ragamatrix <<-->> next I use your numbers. <<<---

Thank you, my friend, but I'm not sure the work was well done...
but if you want others numbers I have some, but I met a problem with imagemagick with the number one...
https://transfer.sh/5qMVd/digit.tar.gz

Offline

#1121 2019-07-10 21:19:43

Sector11
The Tpyo Knig Mod
From: 77345 ¡#
Registered: 2015-08-20
Posts: 5,528

Re: Show us your conky

unklar wrote:

I'd like to bring you a good beer to Buenos Aires...   angel

Hahahahaha  Do not know why it will not work with one script on my machine but ... when there's a will, there's a way.

It skips because conky has to "draw the image", takes time, soooo just draw it more often that once per second.

Go ahead, bring a good beer, I'll watch you drink it while I sip on my coffee.
But I do so remember German Beer  Mmmmmmmmmmmmmmmmmmmm!!!!!!
Haven't had a beer in 33y 5m 25d but whose counting.  big_smile

Dinner....................


BunsenLabs Forum Rules ---== I'm a Conky 1.9'er ==---
System:    Host: d67 Kernel: 4.9.0-9-amd64 x86_64 (64 bit gcc: 6.3.0)
Desktop: Openbox 3.6.1 Distro: Debian GNU/Linux 9 (stretch)

Offline

#1122 2019-07-11 00:05:11

MaDscntist
Member
Registered: 2019-02-22
Posts: 11

Re: Show us your conky

unklar wrote:
MaDscntist wrote:
unklar wrote:

    this works very well (Bitcoin) big_smile

    https://github.com/chubin/rate.sx

Can you help with this weather m8

https://cdn.scrot.moe/images/2018/03/09 … rot.th.png

I don't understand...
what do Bitcoins have to do with the weather and what do you want with the picture of @manuel-909 ?


nothing. I was trying to get your help with that weather Conky if you can please. Thank you

Offline

#1123 2019-07-11 01:00:26

Sector11
The Tpyo Knig Mod
From: 77345 ¡#
Registered: 2015-08-20
Posts: 5,528

Re: Show us your conky

MaDscntist wrote:

nothing. I was trying to get your help with that weather Conky if you can please. Thank you

Start here: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)


BunsenLabs Forum Rules ---== I'm a Conky 1.9'er ==---
System:    Host: d67 Kernel: 4.9.0-9-amd64 x86_64 (64 bit gcc: 6.3.0)
Desktop: Openbox 3.6.1 Distro: Debian GNU/Linux 9 (stretch)

Offline

#1124 2019-07-11 07:38:49

unklar
Member
Registered: 2015-10-31
Posts: 914

Re: Show us your conky

MaDscntist wrote:

nothing. I was trying to get your help with that weather Conky if you can please. Thank you

This is the lua-weather of @damo that @manuel-909 uses here. It is based on the API key of openweathermap.

The configurations can be found here:

1. manuel-909
https://forums.bunsenlabs.org/viewtopic … 916#p68916
(with the icons/weather pictures shown in the picture he uses conkyWeather)


2. damo
https://forums.bunsenlabs.org/viewtopic … 220#p31220
https://forums.bunsenlabs.org/viewtopic … 625#p31625

then, have fun!   wink

Offline

#1125 2019-07-11 08:37:42

ragamatrix
Member
Registered: 2015-10-04
Posts: 406

Re: Show us your conky

MaDscntist wrote:
ragamatrix wrote:
MaDscntist wrote:

I really love your Top bar if you can share your configs?

yes sure you just need draw_bg.lua, varishapes solid, ohsnap font and modifie the pathes:

conky.config = {
-- work in background (disabled for testing)
background = false,

-- better fonts
use_xft = true,
--xftalpha = 1,

-- update interval
update_interval = 1,
total_run_times = 0,

-- window settings
own_window = true,
own_window_transparent = true,
own_window_type = 'desktop',
own_window_hints = 'undecorated, below, sticky, skip_taskbar, skip_pager',
--own_window_argb_visual = true,
--own_window_argb_value = 0,

-- anti-flickering
double_buffer = true,

-- size
minimum_width = 1350,
minimum_height = 10,
maximum_width = 1350,

 -- shadows
draw_shades = false,
default_shade_color = 'black',

--borders
draw_outline = false,
--default_outline_color = 'D02090',
draw_graph_borders = false,

-- frame
draw_borders = false,

-- color
default_color = '778899',
color1 = 'CD2626', --Firebrick3
color2 = 'FFA500', --orange
color3 = 'FFD700', --gold
color4 = 'ADFF2F', --GreenYellow
color5 = '00CD00', --green3
color6 = '00CED1', --DarkTurquoise
color7 = '87CEEB', --SkyBlue
color8 = '1E90FF', --DodgerBlue1
color9 = 'CA99FF', --VioletRed D02090 -- 9D00FF -- magenta FF44EE

-- position
alignment = 'top_middle',
gap_x = 0,
gap_y = 10,

-- misc
no_buffers = true,
uppercase = false,
cpu_avg_samples = 2,
if_up_strictness = 'address',
use_spacer = 'none',

show_graph_range = false,
show_graph_scale = false,
--default_bar_height = 6,
--default_bar_width = 200,
text_buffer_size = 1000,
override_utf8_locale = true,
--fonts tests:
--LCDMono2
--Lucida Sans
--Neogrey
--PF Tempesta Five Condensed
--PF Tempesta Five Compressed
--Visitor TT1 BRK:Medium:size=9
--Anonymous Pro:Medium:size=8
--Commodore 64 Angled
--Terminus
font = 'ohsnap:size=8', --important for shades
--template0 = 'ohsnap:bold:size=10',
--template1 = 'ohsnap:bold:size=10',

lua_load = '~/.conky/script/draw_bg.lua',
--${lua conky_draw_bg 2 0 0 0 0 0x000000 0.224} \

}

conky.text = [[
${lua conky_draw_bg 11 0 0 0 0 0x000000 0.224} \
${color1}${exec echo '#!'}${color FF4800} Top: ${color2}${top_mem name 1}\
${goto 180}|${color3} Home: ${color EDFF00}${fs_used_perc /}% (${fs_used /} / ${fs_free /}) \
${goto 380}|${color4} Stock: ${fs_used_perc /media/stock}% \
${goto 470}|${color 32FF00} Share:${color 00FF63} ${fs_used_perc /media/share}% \
${goto 560}|${color 00FF9E} CPU Stress: ${color 00FFD5}${cpu cpu0}% | ${color7}${cpu cpu2}% \
${goto 700}|${color 00AEFF} CPU T°: ${hwmon 0 temp 1}° ${color8}${execi 300 sensors | awk '/Core 0/{gsub("+","");print $3}'} ${color 7D94FF}${execi 300 sensors | awk '/Core 2/{gsub("+","");print $3}'} \
${goto 870}|${color9} Memory: ${memperc}% ${color ED72FF}($mem) \
${color FF4095}${goto 1060}| Net:\
${voffset -3}${alignr 15}${color FF005C}${font VariShapes Solid:pixelsize=10}q${font }${color FE361A}  ${upspeedf enp0s25} (${totalup enp0s25}) \
${voffset -3} ${color FF9727}${font VariShapes Solid:pixelsize=10}Q${font }${color FFBB27} ${downspeedf enp0s25} (${totaldown enp0s25}) \

]]

Take a look here if you don't have bitmap fonts enabled:
https://forums.bunsenlabs.org/viewtopic.php?id=1473


Oh That Top bar is a Conky. WOW so Cool. Very Awesome.


Where do i get the draw_bg.lua ? And varishapes font?

varishapes font here
draw_bg.lua:

--[[Background originally by londonali1010 (2009)
    ability to set any size for background mrpeachy 2011
    ability to set variables for bg in conkyrc dk75

  the change is that if you set width and/or height to 0
  then it assumes the width and/or height of the conky window

so:

lua_load ~/Conky/LUA/draw_bg.lua
TEXT
${lua conky_draw_bg 20 0 0 0 0 0x000000 0.4}


${lua conky_draw_bg corner_radius x_position y_position width height color alpha}

covers the whole window and will change if you change the minimum_size setting

20             corner_radius
 0             x_position
 0             y_position
 0             width
 0             height
 0x000000      color
 0.4           alpha

]]

require 'cairo'
local    cs, cr = nil
function rgb_to_r_g_b(colour,alpha)
return ((colour / 0x10000) % 0x100) / 255., ((colour / 0x100) % 0x100) / 255., (colour % 0x100) / 255., alpha
end
function conky_draw_bg(r,x,y,w,h,color,alpha)
if conky_window == nil then return end
if cs == nil then cairo_surface_destroy(cs) end
if cr == nil then cairo_destroy(cr) end
local cs = cairo_xlib_surface_create(conky_window.display, conky_window.drawable, conky_window.visual, conky_window.width, conky_window.height)
local cr = cairo_create(cs)
w=w
h=h
if w=="0" then w=tonumber(conky_window.width) end
if h=="0" then h=tonumber(conky_window.height) end
cairo_set_source_rgba (cr,rgb_to_r_g_b(color,alpha))
--top left mid circle
local xtl=x+r
local ytl=y+r
--top right mid circle
local xtr=(x+r)+((w)-(2*r))
local ytr=y+r
--bottom right mid circle
local xbr=(x+r)+((w)-(2*r))
local ybr=(y+r)+((h)-(2*r))
--bottom right mid circle
local xbl=(x+r)
local ybl=(y+r)+((h)-(2*r))
-----------------------------
cairo_move_to (cr,xtl,ytl-r)
cairo_line_to (cr,xtr,ytr-r)
cairo_arc(cr,xtr,ytr,r,((2*math.pi/4)*3),((2*math.pi/4)*4))
cairo_line_to (cr,xbr+r,ybr)
cairo_arc(cr,xbr,ybr,r,((2*math.pi/4)*4),((2*math.pi/4)*1))
cairo_line_to (cr,xbl,ybl+r)
cairo_arc(cr,xbl,ybl,r,((2*math.pi/4)*1),((2*math.pi/4)*2))
cairo_line_to (cr,xtl-r,ytl)
cairo_arc(cr,xtl,ytl,r,((2*math.pi/4)*2),((2*math.pi/4)*3))
cairo_close_path(cr)
cairo_fill (cr)
------------------------------------------------------------
cairo_surface_destroy(cs)
cairo_destroy(cr)
return ""
end

Offline

Board footer

Powered by FluxBB