You are not logged in.
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
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
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}"
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
[edit]
LMAO...I'm not worthy, sry for the edit but going outta my mind atm
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
Thank you guys, the problem is that I'm bad with gimp (with the size numbers), but the idea is something like that:
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
Offline
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.
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.
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}
]];
Last edited by unklar (2019-07-09 17:28:37)
Offline
@ unklar
bei mihr ist alles ok mit der alte syntax
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 22.1 Xia xfce & mageia 9 XFCE on ssd hp pavilion g7
Xubuntu 18.04 lts & 24.04 lts on ASUS Rog STRIX
Offline
one more test to have a really huge clock that I can read far away from the screen
8)![]()
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
this works very well (Bitcoin)
![]()
Can you help with this weather m8
Offline
ragamatrix wrote:one more test to have a really huge clock that I can read far away from the screen
8)![]()
https://cdn.scrot.moe/images/2019/07/09/2019-07-09-15-35-08_scrot.th.pngI 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
MaDscntist wrote:ragamatrix wrote:one more test to have a really huge clock that I can read far away from the screen
8)![]()
https://cdn.scrot.moe/images/2019/07/09/2019-07-09-15-35-08_scrot.th.pngI 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
unklar wrote:this works very well (Bitcoin)
![]()
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
I do not know why it will not work in one script for me but I finally got it doing:
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. <<<---
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
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.
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
${execpi 0.5 $HOME/.conky/superkaramba/loutch_Version/heureseconde.sh}
I'd like to bring you a good beer to Buenos Aires... O:)
Offline
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
I'd like to bring you a good beer to Buenos Aires... O:)
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.
Dinner....................
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
MaDscntist wrote:unklar wrote:this works very well (Bitcoin)
![]()
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
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)
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
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!
Offline
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=1473Oh 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