You are not logged in.

#1141 2019-07-16 00:34:01

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

Re: Show us your conky

unklar wrote:
MaDscntist wrote:

Hi i want to know where he's getting this stuff from? can help weather @unklar @Sector11 @ragamatrix

I don't know if I understand you correctly, but it's in the head of the script...

manuel-909 wrote:

conkyWeather:

#!/bin/bash
# adapted from conkycolors by quakeguy
# --- http://weather.yahoo.com/ ---
# http://weather.yahooapis.com/forecastrss?w=WOEID&u=UNIT
# WOEID: Halle - 656853
# UNIT: c - Celsius, f - Fahrenheit
# (old id: Halle - GMXX0048)

# changed to weather.com
# since  03/2016 yahoo requires oauth2

....

~/conky-conf/testing/weather-a/scripts/conkyWeather wind_gust}  conkyWeather wind_gust

conkyWeather wind_gust  these right here these images? How do i get them in todays world i thought conky weather was no more?

Offline

#1142 2019-07-16 00:48:20

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

Re: Show us your conky

MaDscntist wrote:

conkyWeather wind_gust  these right here these images? How do i get them in todays world i thought conky weather was no more?

Try any of Teo's scripts

Weather still alive ...
2019-07-15_214719_Scrot11.th.jpg


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#1143 2019-07-16 01:07:53

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

Re: Show us your conky

Sector11 wrote:
MaDscntist wrote:

conkyWeather wind_gust  these right here these images? How do i get them in todays world i thought conky weather was no more?

Try any of Teo's scripts

Weather still alive ...
https://cdn.scrot.moe/images/2019/07/16/2019-07-15_214719_Scrot11.th.jpg

I want that one weather I listed @Sector11 "But there no way of knowing where hje got those images"

Offline

#1144 2019-07-16 01:45:32

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

Re: Show us your conky

MaDscntist wrote:
Sector11 wrote:
MaDscntist wrote:

conkyWeather wind_gust  these right here these images? How do i get them in todays world i thought conky weather was no more?

Try any of Teo's scripts

Weather still alive ...
https://cdn.scrot.moe/images/2019/07/16/2019-07-15_214719_Scrot11.th.jpg

I want that one weather I listed @Sector11 "But there no way of knowing where hje got those images"

Well, here's the post.  It's over a year old, may or may not work.  Things change, but it is all right there.


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#1145 2019-07-16 02:32:28

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

Re: Show us your conky

Sector11 wrote:
MaDscntist wrote:

I want that one weather I listed @Sector11 "But there no way of knowing where hje got those images"

Well, here's the post.  It's over a year old, may or may not work.  Things change, but it is all right there.

Where do find all this stuff?  Not all here?

/weather-a/scripts/conkyWeather pressure}
/weather-a/scripts/conkyWeather atmosphere_humidity}
~/conky-conf/testing/weather-a/scripts/cache/weather.xml
/weather-a/scripts/conkyWeather uv_index


${execi 600 ~/conky-conf/testing/weather-a/scripts/lua-weather.sh 4787519}
${execi 600 ~/conky-conf/testing/weather-a/scripts/conkyWeather GET}
${offset 120}${voffset -9}±${color7}${execi 600 ~/conky-conf/testing/weather-a/scripts/conkyWeather Feels_Like}${font}°${execi 600 ~/conky-conf/testing/weather-a/scripts/conkyWeather unit_temperature}
${offset 115}${voffset -3}Gust: ${execi 600 ~/conky-conf/testing/weather-a/scripts/conkyWeather wind_gust}
${offset 190}${voffset -65}H/L: ${execi 600 ~/conky-conf/testing/weather-a/scripts/conkyWeather forecast1_high} | ${execi 600 ~/conky-conf/testing/weather-a/scripts/conkyWeather forecast1_low}°${execi 600 ~/conky-conf/testing/weather-a/scripts/conkyWeather unit_temperature}${alignr}${color7}Humidity: ${execi 600 ~/conky-conf/testing/weather-a/scripts/conkyWeather atmosphere_humidity}
${offset 200}${voffset 90}${if_gw}${color7}${font ConkyColorsWeather:size=40}${execi 600 ~/conky-conf/testing/weather-a/scripts/conkyWeather condition_code}${font}
${offset 10}${voffset -10}DP: ${execi 600 ~/conky-conf/testing/weather-a/scripts/conkyWeather dew_point}°${alignc -40}UV Index: ${execi 600 ~/conky-conf/testing/weather-a/scripts/conkyWeather uv_index}${alignr}Pressure: ${execi 600 ~/conky-conf/testing/weather-a/scripts/conkyWeather pressure} ${execi 600 ~/conky-conf/testing/weather-a/scripts/conkyWeather pressure_d}
  ${color3}${execi 600 (cat ~/conky-conf/testing/weather-a/scripts/cache/weather.xml | sed '/<day d="1"/,1!d' | sed 's/.* t="\(.*\)" .*/\1/')}: ${color7}${execi 600 ~/conky-conf/testing/weather-a/scripts/conkyWeather forecast2_high} / ${color7}${execi 600 ~/conky-conf/testing/weather-a/scripts/conkyWeather forecast2_low}°${execi 600 ~/conky-conf/testing/weather-a/scripts/conkyWeather unit_temperature} \
 |  ${execi 600 grep -A 2 -Pm2 '(?<=<part p="d")[^<]+' ~/conky-conf/testing/weather-a/scripts/cache/weather.xml | sed -n '7p' | grep -oPm2 '(?<=<t>)[^<]+'}  |  \
wind ${execi 600 grep -oPm4 "(?<=<s>)[^<]+" ~/conky-conf/testing/weather-a/scripts/cache/weather.xml | sed -n '4p'} mph \
${execi 600 grep -A 8 -Pm2 '(?<=<part p="d")[^<]+' ~/conky-conf/testing/weather-a/scripts/cache/weather.xml | sed -n '18p' | grep -oPm1 '(?<=<t>)[^<]+'} \
${alignr 20}${voffset -5}${color8}${font ConkyColorsWeather:size=20}${execi 600 ~/conky-conf/testing/weather-a/scripts/conkyWeather forecast2_code}${font}
  ${voffset -10}${color3}${execi 600 (cat ~/conky-conf/testing/weather-a/scripts/cache/weather.xml | sed '/<day d="2"/,1!d' | sed 's/.* t="\(.*\)" .*/\1/')}: ${color7}${execi 600 ~/conky-conf/testing/weather-a/scripts/conkyWeather forecast3_high} / ${color7}${execi 600 ~/conky-conf/testing/weather-a/scripts/conkyWeather forecast3_low}°${execi 600 ~/conky-conf/testing/weather-a/scripts/conkyWeather unit_temperature} \
 |  ${execi 600 grep -A 8 -Pm3 '(?<=<day d="2")[^<]+' ~/conky-conf/testing/weather-a/scripts/cache/weather.xml | sed -n '9p' | grep -oPm3 '(?<=<t>)[^<]+'}  |  wind \
${execi 600 grep -A 10 -Pm3 '(?<=<day d="2")[^<]+' ~/conky-conf/testing/weather-a/scripts/cache/weather.xml | sed -n '11p' | grep -oPm3 '(?<=<s>)[^<]+'} mph \
${execi 600 grep -A 13 -Pm3 '(?<=<day d="2")[^<]+' ~/conky-conf/testing/weather-a/scripts/cache/weather.xml | sed -n '14p' | grep -oPm3 '(?<=<t>)[^<]+'} \
${alignr}${voffset -7}${color8}${font ConkyColorsWeather:size=20}${execi 600 ~/conky-conf/testing/weather-a/scripts/conkyWeather forecast3_code}${font}
#${voffset -50}
]];

Offline

#1146 2019-07-16 03:04:16

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

Re: Show us your conky

Let me say this again:
It's over a year old, may or may not work.  Things change, but it is all right there.
At the rime manual posted that ... the conky worked, and he posted everything needed.

If it is old, and does not work, find another that does.


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#1147 2019-07-16 07:09:25

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

Re: Show us your conky

Guten Tag

unklar wrote:
loutch wrote:

Hello

Would it be possible to get your conky along with the scripts

Danke

@loutch, mon ami, sers-toi.  big_smile

https://cdn.scrot.moe/images/2019/07/15/2019-07-14-22-23-43_scrot.th.png


Lieder geht der conky nicht , ich habe version 1.10.8 & das in die Console


onky: llua_do_call: function conky_spectrum execution failed: /home/loutch/.conky/radiotray/audio_spectrum.lua:387: attempt to compare nil with number
conky: llua_do_call: function conky_spectrum execution failed: /home/loutch/.conky/radiotray/audio_spectrum.lua:387: attempt to compare nil with number
conky: llua_do_call: function conky_spectrum execution failed: /home/loutch/.conky/radiotray/audio_spectrum.lua:387: attempt to compare nil with number
conky: llua_do_call: function conky_spectrum execution failed: /home/loutch/.conky/radiotray/audio_spectrum.lua:378: attempt to perform arithmetic on field '?' (a string value)
conky: llua_do_call: function conky_spectrum execution failed: /home/loutch/.conky/

Schade

Last edited by loutch (2019-07-16 07:27:54)


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

#1148 2019-07-16 07:15:57

Döbbie03
Resident Metalhead
From: New Zealand
Registered: 2015-09-29
Posts: 3,853

Re: Show us your conky

EDIT, don't worry fellas.  After a bit of google searching I don't think I can have quite what I want.

Dudes I am needing some Conky help.  I have an image in my conky but it is not showing as a solid image, it has transparency just like the actual conky itself.  How do I make the image avoid the transparency.

This is what I have:

conky.config = {
-- from where does conky start
alignment = "top_right",

-- distance from screen edge
gap_x = -3840,
gap_y = 0,

-- size settings for conky window
maximum_width = 500,
minimum_width = 500,
max_text_width = 0,

-- set conky behavior on screen (adjustable in the color section)
	-- allows setting own WM_Class. conky is the default
own_window_class = "conky-semi",
	-- don"t share the desktop, makes conky its own animal
own_window = true,
	-- on some systems does give full transparency, but cannot be adjusted as this setup allows
own_window_transparent = false,
	-- necessary to get adjustable transparency
own_window_argb_visual = true,
own_window_argb_value = 0,
       -- normal, desktop, dock, panel, override
own_window_type = "override",
	--set values for conky behavior
own_window_hints = "undecorated,below,sticky,skip_taskbar,skip_pager",

-- set border/shading behavior
default_outline_color = "000000",
default_shade_color = "000000",
draw_borders = false,
border_width = 1,
stippled_borders = 0,
draw_graph_borders = false,
draw_outline = false,
draw_shades = false,
border_inner_margin = 10,
uppercase = true,
-- set special conditions for conky
out_to_x = true,
background = true,
out_to_console = false,
out_to_stderr = false,
text_buffer_size = 512,
total_run_times = 0,
double_buffer = true,
update_interval = 2,
cpu_avg_samples = 2,
net_avg_samples = 2,
no_buffers = true,
short_units = true,
imlib_cache_size = 256,
show_graph_scale = false,
show_graph_range = false,

-- Text options

	-- anti-aliased font use and value = .1 to 1.0
use_xft = true,
xftalpha = 0.8,
	-- Xft font to use
font = "DejaVuSans:size=10.0",
	-- UTF8 support required for XFT
override_utf8_locale = true,

-- START COLORS
default_color = '57007C',
color0 = '86A8FF',
color1 = 'A15EC8',
color2 = 'D5D5D5',
color3 = 'FFFFFF',
color4 = '223867',
color5 = 'D6A0A0',
color6 = '86A8FF',
color7 = 'F6C3FF',
color8 = 'BBBBBB',
color9 = '3C3C3C',
-- END COLORS
own_window_colour = "000000",


--  color0 = Time, Local, Public, Top Processes Labels, Date
--  color1 = AM/PM, Headers
--  color2 = Weather Forecasts, Percentages Before Graphs, Read, Write, Top Processes 1
--  color3 = Calendar, 1st Labels, Weather Days
--  color4 = Graph Bars
--  color5 = High Temperatures
--  color6 = Low Temperatures, Top Processes 2-9
--  color7 = Second Labels/Values, IP
--  color8 = Weather Icons
--  color9 = Separator Bars, Graph Borders

lua_load = "/home/dobbie/.config/conky/draw_bg.lua",
lua_draw_hook_pre = "draw_bg"
}

By the way I am using i3 and a lua config for the panel background.

Last edited by Döbbie03 (2019-07-16 07:58:08)


"All we are is dust in the wind, dude"
                                       - Theodore "Ted" Logan
"Led Zeppelin didn't write tunes that everybody liked, they left that to the Bee Gees."
                                       - Wayne Campbell

Offline

#1149 2019-07-16 07:59:32

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

Re: Show us your conky

Dobbi, draw_bg.lua does not work in the syntax of 1.10.  8.(

and for the transparency of the image try it like this (kill the conky beforehand or log off and on):

own_window_argb_value = 250,

Whereby, argb-visuals doesn't play well with images, especially with black portions.

Offline

#1150 2019-07-16 08:04:18

Döbbie03
Resident Metalhead
From: New Zealand
Registered: 2015-09-29
Posts: 3,853

Re: Show us your conky

unklar wrote:

Dobbi, draw_bg.lua does not work in the syntax of 1.10.  8.(

and for the transparency of the image try it like this (kill the conky beforehand or log off and on):

own_window_argb_value = 250,

Whereby, argb-visuals doesn't play well with images, especially with black portions.

Thanks for the reply.  Yeah I can't get it to look just right so I'm not going to worry.

Lua is loading for me with draw_lua.bg? It is responding to any changes I make in the lua config too.


"All we are is dust in the wind, dude"
                                       - Theodore "Ted" Logan
"Led Zeppelin didn't write tunes that everybody liked, they left that to the Bee Gees."
                                       - Wayne Campbell

Offline

#1151 2019-07-16 08:04:50

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

Re: Show us your conky

loutch wrote:

Lieder geht der conky nicht , ich habe version 1.10.8 & das in die Console
...
Schade

Désolé loutch, je ne t'avais pas écrit que ça ne marchait pas avec syntax1.10.
Vous auriez sûrement gagné du temps....   :8

Offline

#1152 2019-07-16 08:12:00

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

Re: Show us your conky

Dobbie03 wrote:

Lua is loading for me with draw_lua.bg? It is responding to any changes I make in the lua config too.

I mean the "round corners" I can create with draw_bg.
Although, i3 should not be different ...

Offline

#1153 2019-07-16 08:12:50

Döbbie03
Resident Metalhead
From: New Zealand
Registered: 2015-09-29
Posts: 3,853

Re: Show us your conky

unklar wrote:
Dobbie03 wrote:

Lua is loading for me with draw_lua.bg? It is responding to any changes I make in the lua config too.

I mean the "round corners" I can create with draw_bg.
Although, i3 should not be different ...

Not sure.  All I can say is that lua is working and I am happy big_smile


"All we are is dust in the wind, dude"
                                       - Theodore "Ted" Logan
"Led Zeppelin didn't write tunes that everybody liked, they left that to the Bee Gees."
                                       - Wayne Campbell

Offline

#1154 2019-07-16 08:15:44

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

Re: Show us your conky

BINGO!   cool

Offline

#1155 2019-07-16 08:55:00

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

Re: Show us your conky

unklar wrote:

Dobbi, draw_bg.lua does not work in the syntax of 1.10.  8.(

and for the transparency of the image try it like this (kill the conky beforehand or log off and on):

own_window_argb_value = 250,

Whereby, argb-visuals doesn't play well with images, especially with black portions.

Geht in conky 1.10 nicht so gut vie im 1.9


1563267442.png



eine conky mit seinem draw_bg und in .lua die config machen

hier meiner

conky

conky.config = {
	background              = true,
	use_xft                 = true,
	font                    = 'Liberation Sans:size=9',
	xftalpha                = 1,
	update_interval         = 1.0,
	total_run_times         = 0,
	own_window              = true,
	own_window_transparent  = true,
--own_window_color 000000
        own_window_argb_visual  = true,
--own_window_argb_value = 250,
	own_window_type         = 'normal',
	own_window_hints        = 'undecorated,below,skip_taskbar,skip_pager',
	double_buffer           = true,
	minimum_width           = 1350, minimum_height = 10,
        maximum_width           = 1350,
	text_buffer_size        = 2048,
	draw_shades             = false,
	draw_outline            = false,
	draw_borders            = false,
	draw_graph_borders      = true,
	default_color           = 'white',
	default_outline_color   = 'white',
	alignment               = 'top_middle',
	gap_x                   = 10,
	gap_y                   = 30,
	no_buffers              = true,
	uppercase               = false,
	cpu_avg_samples         = 2,
	override_utf8_locale    = true,
imlib_cache_flush_interval      = 60,
	imlib_cache_size        = 10000,
        default_bar_height      = 5,
        default_bar_width       = 20,
default_graph_height   = 13,
default_graph_width    = 185,
-- Taille des pointillés
	stippled_borders       = 5,
max_user_text          = 131072,
-- Couleurs
	default_color = '#ffffff',--ffd579
	default_shade_color = '#333333',
	default_outline_color = 'black',
color1                 = 'ff4800',--'CDBF9A', --titre 'FCE94F'
color2                 = 'ffffff',--'AAAAAA', --texte 'BBBBBB'
color3                 = 'bbbbbb',--555555', --pointilés 'BBBBBB'
color4                 = '65f300', --'3F506B', --bar 'BBBBBB'
color5                 = 'ffffff',--'555555', --bordure '666666'
color6                 = 'ffffff',--'3F506B', --graph 'DDDDDD'

lua_load = '~/.conky/barre/draw_bg.lua',
lua_draw_hook_pre = 'draw_bg',

};

conky.text = [[
${color1}${exec echo '#!'}${color1}Top cpu: ${color2} ${top name 1}\
${goto 180}|${color3} Home: ${color EDFF00}${fs_used_perc /home}% (${fs_used /home} / ${fs_free /home}) \
${goto 380}|${color4} Stock: ${fs_used_perc /mnt/9d01359b-9705-43f9-be12-4d6d7f28b12b}% \
${goto 470}|${color 32FF00} Share:${color 00FF63} ${fs_used_perc /usr/share}% \
${goto 560}|${color 00FF9E} CPU : ${color 00FFD5}${cpu cpu0}%\
${goto 625}|${color 00AEFF} CPU T°: ${hwmon 0 temp 1}°C | ${color8}${execi 300 sensors | awk '/Core 0/{gsub("+","");print $3}'} ${color 7D94FF} \
${goto 770}|${color ff8000} GPU T°: ${nvidia temp}°C \
${goto 870}|${color2} Memory: ${memperc}% ${color ED72FF}($mem) \
${goto 1060}|${color4} Net:\
${alignr 15}${color FF005C}${font VariShapes Solid:pixelsize=10}S${font }${color FE361A}  ${upspeedf wlo1} (${totalup wlo1})    \
${color FF9727}${font VariShapes Solid:pixelsize=10}E${font }${color FFBB27} ${downspeedf wlo1} (${totaldown wlo1}) \

]];

im lua spielen mit das

-- "corner_r" is the radius, in pixels, of the rounded corners. If you don't want rounded corners, use 0.
corner_r=27
-- Set the colour and transparency (alpha) of your background.
bg_colour=0x000000

bg_alpha=0.55

Last edited by loutch (2019-07-16 09:06:26)


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

#1156 2019-07-16 13:56:36

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

Re: Show us your conky

@loutch, Dobbie ne voulait pas la transparence de sa photo dans le Conky.

Mais, tu es un diable !  ]:D
Sector11 est mon témoin, nous l'avons testé dans draw_bg.lua de nombreuses fois sans succès.
Ici dans archlinux avec la version conky 1.11.3 ça marche.

conky -v
conky 1.11.3_pre compiled Mi 27. Mär 20:43:00 CET 2019 for Linux 5.0.3-arch1-1-ARCH x86_64
 

Cependant, pas dans le fichier lua (puisque j'ai cherché en vain les paramètres) mais dans le conkyrc lui-même.

....
color6                 = 'ffffff',--'3F506B', --graph 'DDDDDD'

lua_load = '~/TEST/loutch/draw_bg.lua',
lua_draw_hook_pre = 'draw_bg 10 0 0 0 0 0x000000 0.55',

};

conky.text = [[
${color1}${exec echo '#!'}${color1}Top cpu: ${color2} ${top name 1}\
${goto 180}|${color3} Home: ${color EDFF00}${fs_used_perc /home}% (${fs_used /home} / ${fs_free /home}) \
${goto 380}|${color4} Data: ${fs_used_perc /DATEN}% \
...

et, j'ai suivi le conseil de @wlourf d'avoir le script lua avec dans le répertoire de conkyrc !

loutch_argb.th.png

@loutch, Dobbie didn't want the transparency of his picture in Conky.

But you are a devil!  ]:D
Sector11 is my witness, we tested it in draw_bg.lua many times without success.
Here in archlinux with Conky version 1.11.3 it works.


But not in the lua file (because I searched in vain for the parameters), but in the conkyrc itself.

and, i followed the advice of @wlourf to have the lua script with in the directory of conkyrc!

Offline

#1157 2019-07-16 14:27:36

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

Re: Show us your conky

Where do find all this stuff?  Not all here? @unklar @Sector11 @ragamatrix

/weather-a/scripts/conkyWeather pressure}
/weather-a/scripts/conkyWeather atmosphere_humidity}
~/conky-conf/testing/weather-a/scripts/cache/weather.xml
/weather-a/scripts/conkyWeather uv_index


${execi 600 ~/conky-conf/testing/weather-a/scripts/lua-weather.sh 4787519}
${execi 600 ~/conky-conf/testing/weather-a/scripts/conkyWeather GET}
${offset 120}${voffset -9}±${color7}${execi 600 ~/conky-conf/testing/weather-a/scripts/conkyWeather Feels_Like}${font}°${execi 600 ~/conky-conf/testing/weather-a/scripts/conkyWeather unit_temperature}
${offset 115}${voffset -3}Gust: ${execi 600 ~/conky-conf/testing/weather-a/scripts/conkyWeather wind_gust}
${offset 190}${voffset -65}H/L: ${execi 600 ~/conky-conf/testing/weather-a/scripts/conkyWeather forecast1_high} | ${execi 600 ~/conky-conf/testing/weather-a/scripts/conkyWeather forecast1_low}°${execi 600 ~/conky-conf/testing/weather-a/scripts/conkyWeather unit_temperature}${alignr}${color7}Humidity: ${execi 600 ~/conky-conf/testing/weather-a/scripts/conkyWeather atmosphere_humidity}
${offset 200}${voffset 90}${if_gw}${color7}${font ConkyColorsWeather:size=40}${execi 600 ~/conky-conf/testing/weather-a/scripts/conkyWeather condition_code}${font}
${offset 10}${voffset -10}DP: ${execi 600 ~/conky-conf/testing/weather-a/scripts/conkyWeather dew_point}°${alignc -40}UV Index: ${execi 600 ~/conky-conf/testing/weather-a/scripts/conkyWeather uv_index}${alignr}Pressure: ${execi 600 ~/conky-conf/testing/weather-a/scripts/conkyWeather pressure} ${execi 600 ~/conky-conf/testing/weather-a/scripts/conkyWeather pressure_d}
  ${color3}${execi 600 (cat ~/conky-conf/testing/weather-a/scripts/cache/weather.xml | sed '/<day d="1"/,1!d' | sed 's/.* t="\(.*\)" .*/\1/')}: ${color7}${execi 600 ~/conky-conf/testing/weather-a/scripts/conkyWeather forecast2_high} / ${color7}${execi 600 ~/conky-conf/testing/weather-a/scripts/conkyWeather forecast2_low}°${execi 600 ~/conky-conf/testing/weather-a/scripts/conkyWeather unit_temperature} \
 |  ${execi 600 grep -A 2 -Pm2 '(?<=<part p="d")[^<]+' ~/conky-conf/testing/weather-a/scripts/cache/weather.xml | sed -n '7p' | grep -oPm2 '(?<=<t>)[^<]+'}  |  \
wind ${execi 600 grep -oPm4 "(?<=<s>)[^<]+" ~/conky-conf/testing/weather-a/scripts/cache/weather.xml | sed -n '4p'} mph \
${execi 600 grep -A 8 -Pm2 '(?<=<part p="d")[^<]+' ~/conky-conf/testing/weather-a/scripts/cache/weather.xml | sed -n '18p' | grep -oPm1 '(?<=<t>)[^<]+'} \
${alignr 20}${voffset -5}${color8}${font ConkyColorsWeather:size=20}${execi 600 ~/conky-conf/testing/weather-a/scripts/conkyWeather forecast2_code}${font}
  ${voffset -10}${color3}${execi 600 (cat ~/conky-conf/testing/weather-a/scripts/cache/weather.xml | sed '/<day d="2"/,1!d' | sed 's/.* t="\(.*\)" .*/\1/')}: ${color7}${execi 600 ~/conky-conf/testing/weather-a/scripts/conkyWeather forecast3_high} / ${color7}${execi 600 ~/conky-conf/testing/weather-a/scripts/conkyWeather forecast3_low}°${execi 600 ~/conky-conf/testing/weather-a/scripts/conkyWeather unit_temperature} \
 |  ${execi 600 grep -A 8 -Pm3 '(?<=<day d="2")[^<]+' ~/conky-conf/testing/weather-a/scripts/cache/weather.xml | sed -n '9p' | grep -oPm3 '(?<=<t>)[^<]+'}  |  wind \
${execi 600 grep -A 10 -Pm3 '(?<=<day d="2")[^<]+' ~/conky-conf/testing/weather-a/scripts/cache/weather.xml | sed -n '11p' | grep -oPm3 '(?<=<s>)[^<]+'} mph \
${execi 600 grep -A 13 -Pm3 '(?<=<day d="2")[^<]+' ~/conky-conf/testing/weather-a/scripts/cache/weather.xml | sed -n '14p' | grep -oPm3 '(?<=<t>)[^<]+'} \
${alignr}${voffset -7}${color8}${font ConkyColorsWeather:size=20}${execi 600 ~/conky-conf/testing/weather-a/scripts/conkyWeather forecast3_code}${font}
#${voffset -50}
]];

Offline

#1158 2019-07-16 14:51:07

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

Re: Show us your conky

@ unklar

before

require cairo

--[[
Background by londonali1010 (2009)
This script draws a background to the Conky window. It covers the whole of the Conky window, but you can specify rounded corners, if you wish.
To call this script in Conky, use (assuming you have saved this script to ~/scripts/):
lua_load ~/scripts/draw_bg.lua
lua_draw_hook_pre draw_bg
Changelog:
+ v1.0 -- Original release (07.10.2009)
]]
-- Change these settings to affect your background.
-- "corner_r" is the radius, in pixels, of the rounded corners. If you don't want rounded corners, use 0.
corner_r=27
-- Set the colour and transparency (alpha) of your background.
bg_colour=0x000000

bg_alpha=0.25

require 'cairo'

function rgb_to_r_g_b(colour,alpha)

return ((colour / 0x10000) % 0x100) / 255., ((colour / 0x100) % 0x100) / 255., (colour % 0x100) / 255., alpha

end


.......blablabla .........

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

#1159 2019-07-16 17:57:29

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

Re: Show us your conky

Sector11 wrote:

HEEEEY  MrEd ... You know I just had to try that "tube clock thingy" of yours!

So I hopped on my trusty wagon with my best buddy and went to a nice quiet place I know of to work on it.

OH MY!!!!!  WE WERE NOT ALONE!
https://cdn.scrot.moe/images/2019/07/15/2019-07-15_144359_Scrot11.th.jpg
But he turned out to be quite friendly and helpful.

LMAO

I've got to break the png habit...I never got those errors, but I guess that doesn't mean someone else couldn't.
I am liking the new trick to fix that though.

$ convert mred-nixie-noback.png -strip MrEd-tube-time.png

That nixie font was a little wonky...if your referring to how the 1's looked.

I really like those taller tubes too.

Last edited by MrEd (2019-07-16 18:01: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

#1160 2019-07-17 07:41:09

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

Re: Show us your conky

loutch wrote:

@ unklar

before

require cairo

@loutch, I have no success with that here.
Everything tried out, even the original lua used by londonali.

image.lua and the command lua fDrawImage don't show you any more images if you want to use draw_bg.lua. You must then use the simple method image ... remain.
You can see it here at radiotray-ng. But the image is put "behind" and is useless. See

2019-07-17_08-03.th.png

Last edited by unklar (2019-12-05 20:27:26)

Offline

Board footer

Powered by FluxBB