You are not logged in.

#3626 2020-07-23 06:03:26

ceeslans
Member
Registered: 2015-09-30
Posts: 89

Re: Conky weather+moon scripts (Accuw/WUndergr/Weather.com/NWS/MoonGiant)

The updated weather_com script runs flawlessly. Thanks a bunch for a lightning fast job @Teo!

Last edited by ceeslans (2020-07-23 06:03:52)

Online

#3627 2020-07-23 07:06:04

TeoBigusGeekus
BL DieHard
From: /Greece/Kastoria
Registered: 2015-10-04
Posts: 1,405

Re: Conky weather+moon scripts (Accuw/WUndergr/Weather.com/NWS/MoonGiant)

I'm waiting for WUnderground or Moongiant now, it's their turn.


Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!

Offline

#3628 2020-07-23 07:56:52

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

Re: Conky weather+moon scripts (Accuw/WUndergr/Weather.com/NWS/MoonGiant)

Hello THéo

As usual of very good and fast work, the new script works wonderfully.


Capture-d-cran-2020-07-23-09-55-36.png


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

Offline

#3629 2020-07-23 08:00:15

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

Re: Conky weather+moon scripts (Accuw/WUndergr/Weather.com/NWS/MoonGiant)

TeoBigusGeekus wrote:

I'm waiting for WUnderground or Moongiant now, it's their turn.


NO no no no no no, Wunderground work great ,he’s not gonna do it too big_smile


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

Offline

#3630 2020-07-23 08:24:32

rbh
Member
From: Sweden/Vasterbotten/Rusfors
Registered: 2016-08-11
Posts: 658

Re: Conky weather+moon scripts (Accuw/WUndergr/Weather.com/NWS/MoonGiant)

loutch wrote:

Hello THéo
As usual of very good and fast work, the new script works wonderfully.

Yes I have to agree!
I've fetched the git repo but is still looking forward to get time to launch...


// Regards rbh

Offline

#3631 2020-07-23 09:33:01

TeoBigusGeekus
BL DieHard
From: /Greece/Kastoria
Registered: 2015-10-04
Posts: 1,405

Re: Conky weather+moon scripts (Accuw/WUndergr/Weather.com/NWS/MoonGiant)

I'm glad it works in French too, thanks loutch.


Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!

Offline

#3632 2020-07-23 11:40:21

unklar
Member
Registered: 2015-10-31
Posts: 1,251

Re: Conky weather+moon scripts (Accuw/WUndergr/Weather.com/NWS/MoonGiant)

TeoBigusGeekus wrote:

I'm waiting for WUnderground or Moongiant now, it's their turn.

Don't meet trouble halfway... lol tongue

Congratulations to you, it works again.  Thanks a lot, Teo. smile

vO1UE0Tt.png

For those of you who are not comfortable with the configuration,
here is mine. Mistakes may be kept.   big_smile

conkyrc

-- https://forums.bunsenlabs.org/viewtopic.php?pid=1545#p1545
-- after a design idea from 2015 by @Sector11
-- https://forums.mageia.org/de/download/file.php?id=1352&mode=view
-- @unklar 2020-03-10; 2020-07-23
conky.config = {
-- Create own window instead of using desktop (required in nautilus)
	background = true,
	own_window = true,
	own_window_type = 'normal',
	own_window_transparent = true,
	own_window_hints = 'undecorated,below,skip_taskbar,skip_pager',
	own_window_class = 'Conky',
--own_window_color = '000000',
--own_window_argb_visual = true,
--own_window_argb_value = 250,

-- Use double buffering (reduces flicker, may not work for everyone)
	double_buffer = true,
	no_buffers = true,

-- fiddle with window
	use_spacer = 'none', --right',left',
	use_xft = true,
	xftalpha = 1.0,
	font = 'monofur:size=8',
	uppercase = false,

-- Update interval in seconds
	update_interval = 2, --1,

-- Minimum size of text area
	minimum_width = 205, minimum_height = 740,
	maximum_width = 205,

	override_utf8_locale = true,

	draw_shades = false, --true,
	draw_outline = false, --true,
	draw_borders = false,
	stippled_borders = 0,
	draw_graph_borders = false,
	border_inner_margin = 10,
	border_outer_margin = 0,
	border_width = 0,

-- Default colors and also border colors, grey90 == #e5e5e5
	default_color = 'ffffff',
	color1 = 'ffffff', --949494',
	color2 = 'cyan',
	color3 = 'ed2323',

-- Text alignment, other possible values are commented
--alignment top_left
	alignment = 'top_right',
--alignment bottom_left
--alignment bottom_right

-- Gap between borders of screen and text
	gap_x = -5, -- ←|→
	gap_y = 80, -- ↑|↓

--imlib_cache_size = 0,
	imlib_cache_flush_interval = 900,
	max_user_text = 48552,

};

conky.text = [[${image $HOME/bin/com5-20.png -p -10,-10 -s 205x740}\
${color1}${voffset -6}${font monofur:size=12}ΚΑΙΡΟΣ ${color}${texeci 500 bash $HOME/Weather_com_conky_script/weather_com}
${image $HOME/Weather_com_conky_script/Forecast_Images/now.png -p 5,90 -s 45x45}\
${font monofur:size=10}${color1}${texeci 600 sed -n '1p' $HOME/Weather_com_conky_script/10days} ${color}${texeci 600 sed -n '1p' $HOME/Weather_com_conky_script/now}°C(${texeci 600 sed -n '3p' $HOME/Weather_com_conky_script/now}°C)
${font}${texeci 600 sed -n '4p' $HOME/Weather_com_conky_script/10days | cut -c1-25}${alignr 40}${font monofur:size=8}${texeci 500 sed -n '1p' $HOME/Weather_com_conky_script/aktualisiert}${font}
${goto 50}MOND${color}${alignr 33}${texeci 600 sed -n '17p' $HOME/Weather_com_conky_script/now}
${goto 50}${color1}${font}Hoch / Tief${color}${alignr 40} ${texeci 600 sed -n '4p' $HOME/Weather_com_conky_script/now}° / ${texeci 600 sed -n '5p' $HOME/Weather_com_conky_script/now}°
${goto 50}${color1}WIND${color}${alignr 40} ${texeci 600 sed -n '7p' $HOME/Weather_com_conky_script/now}
${goto 50}${color1}UV INDEX${color}${alignr 40} ${texeci 600 sed -n '6p' $HOME/Weather_com_conky_script/now}
${goto 50}${color1}Sonnenaufgang${color}${alignr 40} ${texeci 600 sed -n '13p' $HOME/Weather_com_conky_script/now}
${goto 50}${color1}Sonnenuntergang${color}${alignr 40} ${texeci 600 sed -n '15p' $HOME/Weather_com_conky_script/now}
${goto 50}${color1}Luftdruck${color}${alignr 40} ${texeci 600 sed -n '10p' $HOME/Weather_com_conky_script/now}
${goto 50}${color1}Mondaufgang${color}${alignr 40} ${texeci 600 sed -n '19p' $HOME/Weather_com_conky_script/now}
${goto 50}${color1}Monduntergang${color}${alignr 40} ${texeci 600 sed -n '21p' $HOME/Weather_com_conky_script/now}
${goto 50}${color1}Fernsicht${color}${alignr 40} ${texeci 600 sed -n '11p' $HOME/Weather_com_conky_script/now}
${goto 50}${color1}Rel.Luftfeuchte${color}${alignr 40} ${texeci 600 sed -n '8p' $HOME/Weather_com_conky_script/now} %
${goto 50}${color1}Taupunkt${color}${alignr 40} ${texeci 600 sed -n '9p' $HOME/Weather_com_conky_script/now} °C
${color3}${swapbar 0,165}${color}
${image $HOME/1_pixel_images/white_1.png -p 90,202 -s 1x335}\
${image $HOME/Weather_com_conky_script/Forecast_Images/h2.png -p 105,210 -s 30x30}\
${image $HOME/Weather_com_conky_script/Forecast_Images/h3.png -p 105,252 -s 30x30}\
${image $HOME/Weather_com_conky_script/Forecast_Images/h4.png -p 105,288 -s 30x30}\
${image $HOME/Weather_com_conky_script/Forecast_Images/h5.png -p 105,325 -s 30x30}\
${image $HOME/Weather_com_conky_script/Forecast_Images/h6.png -p 105,362 -s 30x30}\
${image $HOME/Weather_com_conky_script/Forecast_Images/h7.png -p 105,398 -s 30x30}\
${image $HOME/Weather_com_conky_script/Forecast_Images/h8.png -p 105,435 -s 30x30}\
${image $HOME/Weather_com_conky_script/Forecast_Images/h9.png -p 105,470 -s 30x30}\
${image $HOME/Weather_com_conky_script/Forecast_Images/h10.png -p 105,505 -s 30x30}\
${if_match "${texeci 600 sed -n '1p' $HOME/Weather_com_conky_script/10days}" == "Heute"}
${goto 50}${execi 3600 date  --date='1 day' '+%a. %e'}${goto 150}${tztime GMT-2 %H} h
${goto 45}${texeci 600 sed -n '31p' $HOME/Weather_com_conky_script/10days}/${texeci 600 sed -n '40p' $HOME/Weather_com_conky_script/10days}${goto 150}${texeci 600 sed -n '2p' $HOME/Weather_com_conky_script/hourly}
${color1}${swapbar 0,165}
${goto 50}${execi 3600 date  --date='2 day' '+%a. %e'}${goto 150}${tztime GMT-3 %H} h
${goto 45}${texeci 600 sed -n '55p' $HOME/Weather_com_conky_script/10days}/${texeci 600 sed -n '64p' $HOME/Weather_com_conky_script/10days}${goto 150}${texeci 600 sed -n '11p' $HOME/Weather_com_conky_script/hourly}
${color1}${swapbar 0,165}
${goto 50}${execi 3600 date  --date='3 day' '+%a. %e'}${goto 150}${tztime GMT-4 %H} h
${goto 45}${texeci 600 sed -n '79p' $HOME/Weather_com_conky_script/10days}/${texeci 600 sed -n '88p' $HOME/Weather_com_conky_script/10days}${goto 150}${texeci 600 sed -n '20p' $HOME/Weather_com_conky_script/hourly}
${color1}${swapbar 0,165}
${goto 50}${execi 3600 date  --date='4 day' '+%a. %e'}${goto 150}${tztime GMT-5 %H} h
${goto 45}${texeci 600 sed -n '103p' $HOME/Weather_com_conky_script/10days}/${texeci 600 sed -n '112p' $HOME/Weather_com_conky_script/10days}${goto 150}${texeci 600 sed -n '29p' $HOME/Weather_com_conky_script/hourly}
${color1}${swapbar 0,165}
${goto 50}${execi 3600 date  --date='5 day' '+%a. %e'}${goto 150}${tztime GMT-6 %H} h
${goto 45}${texeci 600 sed -n '127p' $HOME/Weather_com_conky_script/10days}/${texeci 600 sed -n '136p' $HOME/Weather_com_conky_script/10days}${goto 150}${texeci 600 sed -n '38p' $HOME/Weather_com_conky_script/hourly}
${color1}${swapbar 0,165}
${goto 50}${execi 3600 date  --date='6 day' '+%a. %e'}${goto 150}${tztime GMT-7 %H} h
${goto 45}${texeci 600 sed -n '151p' $HOME/Weather_com_conky_script/10days}/${texeci 600 sed -n '160p' $HOME/Weather_com_conky_script/10days}${goto 150}${texeci 600 sed -n '47p' $HOME/Weather_com_conky_script/hourly}
${color1}${swapbar 0,165}
${goto 50}${execi 3600 date  --date='7 day' '+%a. %e'}${goto 150}${tztime GMT-8 %H} h
${goto 45}${texeci 600 sed -n '175p' $HOME/Weather_com_conky_script/10days}/${texeci 600 sed -n '184p' $HOME/Weather_com_conky_script/10days}${goto 150}${texeci 600 sed -n '56p' $HOME/Weather_com_conky_script/hourly}
${color1}${swapbar 0,165}
${goto 50}${execi 3600 date  --date='8 day' '+%a. %e'}${goto 150}${tztime GMT-9 %H} h
${goto 45}${texeci 600 sed -n '199p' $HOME/Weather_com_conky_script/10days}/${texeci 600 sed -n '208p' $HOME/Weather_com_conky_script/10days}${goto 150}${texeci 600 sed -n '65p' $HOME/Weather_com_conky_script/hourly}
${color1}${swapbar 0,165}
${goto 50}${execi 3600 date  --date='9 day' '+%a. %e'}${goto 150}${tztime GMT-10 %H} h
${goto 45}${texeci 600 sed -n '223p' $HOME/Weather_com_conky_script/10days}/${texeci 600 sed -n '232p' $HOME/Weather_com_conky_script/10days}${goto 150}${texeci 600 sed -n '74p' $HOME/Weather_com_conky_script/hourly}
${image $HOME/Weather_com_conky_script/Forecast_Images/d2.png -p 10,210 -s 30x30}\
${image $HOME/Weather_com_conky_script/Forecast_Images/d3.png -p 10,252 -s 30x30}\
${image $HOME/Weather_com_conky_script/Forecast_Images/d4.png -p 10,288 -s 30x30}\
${image $HOME/Weather_com_conky_script/Forecast_Images/d5.png -p 10,325 -s 30x30}\
${image $HOME/Weather_com_conky_script/Forecast_Images/d6.png -p 10,360 -s 30x30}\
${image $HOME/Weather_com_conky_script/Forecast_Images/d7.png -p 10,400 -s 30x30}\
${image $HOME/Weather_com_conky_script/Forecast_Images/d8.png -p 10,435 -s 30x30}\
${image $HOME/Weather_com_conky_script/Forecast_Images/d9.png -p 10,470 -s 30x30}\
${image $HOME/Weather_com_conky_script/Forecast_Images/d10.png -p 10,505 -s 30x30}\
${color3}${swapbar 0,165}${color}
${font monofur:size=10}${texeci 600 sed -n '1p' $HOME/Weather_com_conky_script/10days}${font}
${texeci 600 sed -n '10p' $HOME/Weather_com_conky_script/10days | fold -s35}
${color3}${swapbar 0,165}${color}
${font monofur:size=10}${texeci 600 sed -n '15p' $HOME/Weather_com_conky_script/10days|tr a-z A-Z}${font}
${color}${texeci 600 sed -n '19p' $HOME/Weather_com_conky_script/10days | fold -s35}
${else}
${goto 50}${execi 3600 date  --date='1 day' '+%a. %e'}${goto 150}${tztime GMT-2 %H} h
${goto 45}${texeci 600 sed -n '31p' $HOME/Weather_com_conky_script/10days}/${texeci 600 sed -n '40p' $HOME/Weather_com_conky_script/10days}${goto 150}${texeci 600 sed -n '2p' $HOME/Weather_com_conky_script/hourly}
${color1}${swapbar 0,165}
${goto 50}${execi 3600 date  --date='2 day' '+%a. %e'}${goto 150}${tztime GMT-3 %H} h
${goto 45}${texeci 600 sed -n '55p' $HOME/Weather_com_conky_script/10days}/${texeci 600 sed -n '64p' $HOME/Weather_com_conky_script/10days}${goto 150}${texeci 600 sed -n '11p' $HOME/Weather_com_conky_script/hourly}
${color1}${swapbar 0,165}
${goto 50}${execi 3600 date  --date='3 day' '+%a. %e'}${goto 150}${tztime GMT-4 %H} h
${goto 45}${texeci 600 sed -n '79p' $HOME/Weather_com_conky_script/10days}/${texeci 600 sed -n '88p' $HOME/Weather_com_conky_script/10days}${goto 150}${texeci 600 sed -n '20p' $HOME/Weather_com_conky_script/hourly}
${color1}${swapbar 0,165}
${goto 50}${execi 3600 date  --date='4 day' '+%a. %e'}${goto 150}${tztime GMT-5 %H} h
${goto 45}${texeci 600 sed -n '103p' $HOME/Weather_com_conky_script/10days}/${texeci 600 sed -n '112p' $HOME/Weather_com_conky_script/10days}${goto 150}${texeci 600 sed -n '29p' $HOME/Weather_com_conky_script/hourly}
${color1}${swapbar 0,165}
${goto 50}${execi 3600 date  --date='5 day' '+%a. %e'}${goto 150}${tztime GMT-6 %H} h
${goto 45}${texeci 600 sed -n '127p' $HOME/Weather_com_conky_script/10days}/${texeci 600 sed -n '136p' $HOME/Weather_com_conky_script/10days}${goto 150}${texeci 600 sed -n '38p' $HOME/Weather_com_conky_script/hourly}
${color1}${swapbar 0,165}
${goto 50}${execi 3600 date  --date='6 day' '+%a. %e'}${goto 150}${tztime GMT-7 %H} h
${goto 45}${texeci 600 sed -n '151p' $HOME/Weather_com_conky_script/10days}/${texeci 600 sed -n '160p' $HOME/Weather_com_conky_script/10days}${goto 150}${texeci 600 sed -n '47p' $HOME/Weather_com_conky_script/hourly}
${color1}${swapbar 0,165}
${goto 50}${execi 3600 date  --date='7 day' '+%a. %e'}${goto 150}${tztime GMT-8 %H} h
${goto 45}${texeci 600 sed -n '175p' $HOME/Weather_com_conky_script/10days}/${texeci 600 sed -n '184p' $HOME/Weather_com_conky_script/10days}${goto 150}${texeci 600 sed -n '56p' $HOME/Weather_com_conky_script/hourly}
${color1}${swapbar 0,165}
${goto 50}${execi 3600 date  --date='8 day' '+%a. %e'}${goto 150}${tztime GMT-9 %H} h
${goto 45}${texeci 600 sed -n '199p' $HOME/Weather_com_conky_script/10days}/${texeci 600 sed -n '208p' $HOME/Weather_com_conky_script/10days}${goto 150}${texeci 600 sed -n '65p' $HOME/Weather_com_conky_script/hourly}
${color1}${swapbar 0,165}
${goto 50}${execi 3600 date  --date='9 day' '+%a. %e'}${goto 150}${tztime GMT-10 %H} h
${goto 45}${texeci 600 sed -n '223p' $HOME/Weather_com_conky_script/10days}/${texeci 600 sed -n '232p' $HOME/Weather_com_conky_script/10days}${goto 150}${texeci 600 sed -n '74p' $HOME/Weather_com_conky_script/hourly}
${image $HOME/Weather_com_conky_script/Forecast_Images/d2.png -p 10,210 -s 30x30}\
${image $HOME/Weather_com_conky_script/Forecast_Images/d3.png -p 10,252 -s 30x30}\
${image $HOME/Weather_com_conky_script/Forecast_Images/d4.png -p 10,288 -s 30x30}\
${image $HOME/Weather_com_conky_script/Forecast_Images/d5.png -p 10,325 -s 30x30}\
${image $HOME/Weather_com_conky_script/Forecast_Images/d6.png -p 10,360 -s 30x30}\
${image $HOME/Weather_com_conky_script/Forecast_Images/d7.png -p 10,400 -s 30x30}\
${image $HOME/Weather_com_conky_script/Forecast_Images/d8.png -p 10,435 -s 30x30}\
${image $HOME/Weather_com_conky_script/Forecast_Images/d9.png -p 10,470 -s 30x30}\
${image $HOME/Weather_com_conky_script/Forecast_Images/d10.png -p 10,505 -s 30x30}\
${color3}${swapbar 0,165}${color}
${font monofur:size=10}${texeci 600 sed -n '1p' $HOME/Weather_com_conky_script/10days}${font}
${texeci 600 sed -n '10p' $HOME/Weather_com_conky_script/10days | fold -s35}
${color3}${swapbar 0,165}${color}
${font monofur:size=10}${texeci 600 sed -n '21p' $HOME/Weather_com_conky_script/10days|tr a-z A-Z}${font}
${color}${texeci 600 sed -n '25p' $HOME/Weather_com_conky_script/10days | fold -s35}
${endif}

]];

Update 2020-07-25: Error in the configuration in the setting ..." == "Today"} corrected.

Last edited by unklar (2020-07-25 14:37:01)

Offline

#3633 2020-07-23 13:33:31

TeoBigusGeekus
BL DieHard
From: /Greece/Kastoria
Registered: 2015-10-04
Posts: 1,405

Re: Conky weather+moon scripts (Accuw/WUndergr/Weather.com/NWS/MoonGiant)

It works in German as well!
Good to know unklar, danke schön!


Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!

Offline

#3634 2020-07-23 16:22:12

Sector11
Conky 1.9er Mod Squid
From: Upstairs
Registered: 2015-08-20
Posts: 6,396

Re: Conky weather+moon scripts (Accuw/WUndergr/Weather.com/NWS/MoonGiant)

hahaha my error ... in my URL I had:

address="https://weather.com/en-ie/weather/today/l/eb21b6c30fe7eef7bdb5ae103d0669ffbb96ef1e33a2564bf01c340aca0248ed"

not "en-IE" as required.

DUH!

have some tweaking in "10days" to do, but YUP, works here.


The sun will never set if you keep walking towards it. - my son
Being positive doesn't understand physics.
_______________________________
Debian 10 Buster = SharpBang ♯!

Online

#3635 2020-07-23 20:39:17

TeoBigusGeekus
BL DieHard
From: /Greece/Kastoria
Registered: 2015-10-04
Posts: 1,405

Re: Conky weather+moon scripts (Accuw/WUndergr/Weather.com/NWS/MoonGiant)

Goody gumdrops...


Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!

Offline

#3636 2020-07-23 20:54:42

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

Re: Conky weather+moon scripts (Accuw/WUndergr/Weather.com/NWS/MoonGiant)

Hello Unklar

Könnte ich das haben

${texeci 500 sed -n '1p' $HOME/Weather_com_conky_script/aktualisiert}

Danke


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

Offline

#3637 2020-07-24 07:39:56

unklar
Member
Registered: 2015-10-31
Posts: 1,251

Re: Conky weather+moon scripts (Accuw/WUndergr/Weather.com/NWS/MoonGiant)

^Bonjour @loutch, mon bon ami,  smile

cela est fait pour moi par la ligne supplémentaire suivante dans le script :

	date +%T > $HOME/Weather_com_conky_script/aktualisiert

par exemple dans weather.com à la ligne 243


@all,

again I have a mistake in the alternation of "today" and "tonight" and "tomorrow".
Does anybody see him?   glasses

....
${font monofur:size=10}${texeci 600 sed -n '1p' $HOME/Weather_com_conky_script/10days}${font}
${texeci 600 sed -n '10p' $HOME/Weather_com_conky_script/10days | fold -s35}
${color3}${swapbar 0,165}${color}
${font monofur:size=10}${texeci 600 sed -n '15p' $HOME/Weather_com_conky_script/10days|tr a-z A-Z}${font}
${color}${texeci 600 sed -n '19p' $HOME/Weather_com_conky_script/10days | fold -s35}
${endif}
...

10days

Heute
26°
14°
Nachm. Schauer
50%
W 14 km/h
26°
50%
W 14 km/h
Nachmittags Schauer. Höchsttemperatur 26C. Wind aus W mit 10 bis 15 km/h. Regenrisiko 50 %.
46%
7 von 10
5:25
21:05
Heute Abend
14°
10%
SW 10 km/h
Teilweise bedeckt. Tiefsttemperatur 14C. Wind aus SW mit 10 bis 15 km/h.
67%
0 von 10
9:44
23:23
Sa. 25
26°
18°
Meist sonnig
10%
WSW 11 km/h
Morgen
26°
10%
WSW 11 km/h
Meistens klar. Höchsttemperatur 26C. Wind aus WSW mit 10 bis 15 km/h.
55%
7 von 10
5:26
21:04
Morgen Abend
...

currently I have (in both)

...
${font monofur:size=10}${texeci 600 sed -n '1p' $HOME/Weather_com_conky_script/10days}${font}
${texeci 600 sed -n '10p' $HOME/Weather_com_conky_script/10days | fold -s35}
${color3}${swapbar 0,165}${color}
${font monofur:size=10}${texeci 600 sed -n '30p' $HOME/Weather_com_conky_script/10days|tr a-z A-Z}${font}
${color}${texeci 600 sed -n '34p' $HOME/Weather_com_conky_script/10days | fold -s35}
${else}
...

HEvZzJpt.png


I must stress this once again:
it is absolutely awesome to upload images from your BL-Desktop to imgur! Big thanks to @damo  smile

Last edited by unklar (2020-07-24 07:41:26)

Offline

#3638 2020-07-24 07:48:09

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

Re: Conky weather+moon scripts (Accuw/WUndergr/Weather.com/NWS/MoonGiant)

Hello

@ unklar

Danke   wink


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

Offline

#3639 2020-07-24 11:22:27

ceeslans
Member
Registered: 2015-09-30
Posts: 89

Re: Conky weather+moon scripts (Accuw/WUndergr/Weather.com/NWS/MoonGiant)

@unklar: yes, there is a mistake in there. but 'today' and 'tonight' alternations are definitely different.
this is because a new '10days' file is created upon mode change, resulting in different sequence

I believe the following would be correct:

--> IF MATCH == TODAY

...
${font monofur:size=10}${texeci 600 sed -n '1p' $HOME/Weather_com_conky_script/10days}${font}
${texeci 600 sed -n '10p' $HOME/Weather_com_conky_script/10days | fold -s35}
${color3}${swapbar 0,165}${color}
${font monofur:size=10}${texeci 600 sed -n '30p' $HOME/Weather_com_conky_script/10days|tr a-z A-Z}${font}
${color}${texeci 600 sed -n '34p' $HOME/Weather_com_conky_script/10days | fold -s35}
${else}
...

--> ELSE

...
${font monofur:size=10}${texeci 600 sed -n '1p' $HOME/Weather_com_conky_script/10days}${font}
${texeci 600 sed -n '10p' $HOME/Weather_com_conky_script/10days | fold -s35}
${color3}${swapbar 0,165}${color}
${font monofur:size=10}${texeci 600 sed -n '21p' $HOME/Weather_com_conky_script/10days|tr a-z A-Z}${font}
${color}${texeci 600 sed -n '25p' $HOME/Weather_com_conky_script/10days | fold -s35}
${else}
...

I would need to double-check this later today (maybe accuweather changed their behaviour again)...
Maybe you can check also

Last edited by ceeslans (2020-07-24 11:28:33)

Online

#3640 2020-07-24 16:45:52

ceeslans
Member
Registered: 2015-09-30
Posts: 89

Re: Conky weather+moon scripts (Accuw/WUndergr/Weather.com/NWS/MoonGiant)

^^ as per my above post, a new-format '10days' file was created by the script for 'tonight'.
in order to show the forecast messages for 'TONIGHT' and 'TOMORROW', the lines '21p' resp '25p' must be called in the --> ELSE section

uvwgx9Ot.png

Online

#3641 2020-07-24 18:02:47

unklar
Member
Registered: 2015-10-31
Posts: 1,251

Re: Conky weather+moon scripts (Accuw/WUndergr/Weather.com/NWS/MoonGiant)

^^Thanks @ceeslans for taking the trouble.
BINGO! you found it.  big_smile

The condition of the if_match command is formulated in the conky here

${if_match "${texeci 600 sed -n '1p' $HOME/Weather_com_conky_script/10days}" == "Heute"}

You can also cross check

${if_match "${texeci 600 sed -n '1p' $HOME/Weather_com_conky_script/10days}" == "Heute Abend"}

But then the "else" sections must be exchanged.

${font monofur:size=10}${texeci 600 sed -n '1p' $HOME/Weather_com_conky_script/10days}${font}
${texeci 600 sed -n '10p' $HOME/Weather_com_conky_script/10days | fold -s35}
${color2}${hr 1}${color}
${font monofur:size=10}${texeci 600 sed -n '30p' $HOME/Weather_com_conky_script/10days|tr a-z A-Z}${font}
${color}${texeci 600 sed -n '34p' $HOME/Weather_com_conky_script/10days | fold -s35}
${else}
...
${font monofur:size=10}${texeci 600 sed -n '1p' $HOME/Weather_com_conky_script/10days}${font}
${texeci 600 sed -n '10p' $HOME/Weather_com_conky_script/10days | fold -s35}
${color2}${hr 1}${color}
${font monofur:size=10}${texeci 600 sed -n '21p' $HOME/Weather_com_conky_script/10days|tr a-z A-Z}${font}
${color}${texeci 600 sed -n '25p' $HOME/Weather_com_conky_script/10days | fold -s35}
${endif}

to

${font monofur:size=10}${texeci 600 sed -n '1p' $HOME/Weather_com_conky_script/10days}${font}
${texeci 600 sed -n '10p' $HOME/Weather_com_conky_script/10days | fold -s35}
${color2}${hr 1}${color}
${font monofur:size=10}${texeci 600 sed -n '21p' $HOME/Weather_com_conky_script/10days|tr a-z A-Z}${font}
${color}${texeci 600 sed -n '25p' $HOME/Weather_com_conky_script/10days | fold -s35}
${else}
...
${font monofur:size=10}${texeci 600 sed -n '1p' $HOME/Weather_com_conky_script/10days}${font}
${texeci 600 sed -n '10p' $HOME/Weather_com_conky_script/10days | fold -s35}
${color2}${hr 1}${color}
${font monofur:size=10}${texeci 600 sed -n '30p' $HOME/Weather_com_conky_script/10days|tr a-z A-Z}${font}
${color}${texeci 600 sed -n '34p' $HOME/Weather_com_conky_script/10days | fold -s35}
${endif}

"Heute"       = Today
"Heute Abend" = Tonight

I'll know for sure tomorrow...   yikes  lol

Last edited by unklar (2020-07-24 18:04:53)

Offline

#3642 2020-07-24 18:31:35

ceeslans
Member
Registered: 2015-09-30
Posts: 89

Re: Conky weather+moon scripts (Accuw/WUndergr/Weather.com/NWS/MoonGiant)

heheh, being dutch, I do speak and understand the german language reasonably well... smile

when in "Tonight" (same as "Heute Abend") mode - calling the '30p' and '34p' lines, will show you the values for "Tomorrow Night" (same as "Morgen Abend")
see below snipped scrot.
cXCVqBpt.png
so if you want to print the forecast for "Tomorrow" (same as "Morgen") then you really need to call '21p' resp '25p' lines

Last edited by ceeslans (2020-07-24 18:35:26)

Online

#3643 2020-07-24 23:32:54

Sector11
Conky 1.9er Mod Squid
From: Upstairs
Registered: 2015-08-20
Posts: 6,396

Re: Conky weather+moon scripts (Accuw/WUndergr/Weather.com/NWS/MoonGiant)

hahahahah

Having lived in Germany I understand so very little after 36 years of not using & forgetting my survival German language skills.  This I will never forget

Hallo, ein Bier bitte or my favourite: einen Weißwein bitte  big_smile

And visiting Holland (fell in love with the country) I saw my first phone booth with: Foon

Now why can't English be that easy.
Today I have problems with English.  angel


The sun will never set if you keep walking towards it. - my son
Being positive doesn't understand physics.
_______________________________
Debian 10 Buster = SharpBang ♯!

Online

#3644 2020-07-25 07:35:00

unklar
Member
Registered: 2015-10-31
Posts: 1,251

Re: Conky weather+moon scripts (Accuw/WUndergr/Weather.com/NWS/MoonGiant)

@Sector11, no problem   big_smile  devil

---------------------------------
I have these settings now:
For

${if_match "${texeci 600 sed -n '1p' $HOME/Weather_com_conky_script/10days}" == "Heute Abend"}
${font monofur:size=10}${texeci 600 sed -n '1p' $HOME/Weather_com_conky_script/10days}${font}
${texeci 600 sed -n '10p' $HOME/Weather_com_conky_script/10days | fold -s35}
${color2}${hr 1}${color}
${font monofur:size=10}${texeci 600 sed -n '21p' $HOME/Weather_com_conky_script/10days|tr a-z A-Z}${font}
${color}${texeci 600 sed -n '25p' $HOME/Weather_com_conky_script/10days | fold -s35}
${else}
...
${font monofur:size=10}${texeci 600 sed -n '1p' $HOME/Weather_com_conky_script/10days}${font}
${texeci 600 sed -n '10p' $HOME/Weather_com_conky_script/10days | fold -s35}
${color2}${hr 1}${color}
${font monofur:size=10}${texeci 600 sed -n '15p' $HOME/Weather_com_conky_script/10days|tr a-z A-Z}${font}
${color}${texeci 600 sed -n '19p' $HOME/Weather_com_conky_script/10days | fold -s35}
${endif}

and for

${if_match "${texeci 600 sed -n '1p' $HOME/Weather_com_conky_script/10days}" == "Heute"}
${font monofur:size=10}${texeci 600 sed -n '1p' $HOME/Weather_com_conky_script/10days}${font}
${texeci 600 sed -n '10p' $HOME/Weather_com_conky_script/10days | fold -s35}
${color2}${hr 1}${color}
${font monofur:size=10}${texeci 600 sed -n '15p' $HOME/Weather_com_conky_script/10days|tr a-z A-Z}${font}
${color}${texeci 600 sed -n '19p' $HOME/Weather_com_conky_script/10days | fold -s35}
${else}
...
${font monofur:size=10}${texeci 600 sed -n '1p' $HOME/Weather_com_conky_script/10days}${font}
${texeci 600 sed -n '10p' $HOME/Weather_com_conky_script/10days | fold -s35}
${color2}${hr 1}${color}
${font monofur:size=10}${texeci 600 sed -n '21p' $HOME/Weather_com_conky_script/10days|tr a-z A-Z}${font}
${color}${texeci 600 sed -n '25p' $HOME/Weather_com_conky_script/10days | fold -s35}
${endif}

This works correctly (let's see how long).  big_smile

Offline

#3645 2020-07-25 14:31:12

unklar
Member
Registered: 2015-10-31
Posts: 1,251

Re: Conky weather+moon scripts (Accuw/WUndergr/Weather.com/NWS/MoonGiant)

^I don't know when weather.com will be updated by
Today > Tonight switches. The first switchover has now taken place at 16.00, because the Conky has is displayed correctly:  2Ytpc8it.png

I have changed the configuration above accordingly. This solves the problem.  big_smile

Thanks to @ceeslans   smile



...Yes and the Conky can be moved easily with Alt+left click   lol  tongue

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

Last edited by unklar (2020-07-25 14:49:48)

Offline

#3646 2020-07-25 17:03:55

TeoBigusGeekus
BL DieHard
From: /Greece/Kastoria
Registered: 2015-10-04
Posts: 1,405

Re: Conky weather+moon scripts (Accuw/WUndergr/Weather.com/NWS/MoonGiant)

I hope I'm not too late to the party, but for the correct values for tonight/tomorrow or today/tomorrow you can look at my take on ceeslans conkyrcs that come with the script; I've already solved the problem and tested for various places/times on earth.


Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!

Offline

#3647 2020-07-26 07:47:52

unklar
Member
Registered: 2015-10-31
Posts: 1,251

Re: Conky weather+moon scripts (Accuw/WUndergr/Weather.com/NWS/MoonGiant)

^Yes, Teo.
But I'd like the ad "Today" > "Tonight" > "Tomorrow". And that doesn't work with the selection of lines 30p, 34p. He has determined that himself further up.  wink

iIyw5lDt.png

Offline

#3648 2020-07-30 17:39:45

Sector11
Conky 1.9er Mod Squid
From: Upstairs
Registered: 2015-08-20
Posts: 6,396

Re: Conky weather+moon scripts (Accuw/WUndergr/Weather.com/NWS/MoonGiant)

For some reason I had brain freeze.  The nice WETTER.com conky unclar came up with became a "puzzle"  No idea why ··· too long away maybe?  Anyway I asked the ever helpful unclar for a copy of his and tweaked mine.  It have a few changes from itis older version but probably not anything anyone would notice.  Waited over night to see if the "Night" version worked, it did to here's it is:

Yesterday's scrot showing last night = Tonight:
2020-07-29-210538-S11.jpg

And just now = "Today":
2020-07-30-142016-S11.jpg


The code for: wetter_com-1.9.conky - WARNING: conky v1.19

## pkill -xf "conky -c /media/5/Conky/Weather_com_conky_script/wetter_com-1.9.conky" &

## Original
## pkill -xf "conky -c /media/5/Conky/Weather_com_conky_script/unklar-1_1.9.conky" &

## https://forums.bunsenlabs.org/viewtopic.php?pid=1545#p1545
## after a design idea from 2015 by @Sector11
## https://forums.mageia.org/de/download/file.php?id=1352&mode=view
## @unklar 2020-03-10
## tweaked to new weather.com script: 2020-07-29

background no
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints below,skip_taskbar,skip_pager,undecorated
own_window_class Conky
own_window_title WETTER
own_window_colour 000000
## 	own_window_argb_visual yes
## 	own_window_argb_value 200

## Use double buffering (reduces flicker may not work for everyone)
double_buffer yes
no_buffers yes

## fiddle with window
use_spacer none ## right l eft
use_xft yes
## font freesans -12
xftalpha 1.0
##	font monofur:bold:size=8
xftfont Fira Mono:medium:size=9
uppercase no

## Update interval in seconds
update_interval 2 ## 1

## Minimum size of text area

minimum_size 200 0
maximum_width 200

override_utf8_locale yes

draw_shades yes
default_shade_color 000000
draw_outline no
default_outline_color 000000

draw_borders no
stippled_borders 0 #5
border_inner_margin 10
border_outer_margin 0
border_width 0
draw_graph_borders no
## default_graph_size 15 40

## Default colors and also border colors grey90 == #e5e5e5
default_color E0FFFF #LightCyan	#FFDEAD #NavajoWhite
color0 C0C0C0 #Silver
color1 778899 #LightSlateGray
color2 FAEBD7 #AntiqueWhite
color3 87CEFA #LightSkyBlue
color4 48D1CC #MediumTurquoise
color5 FFFF00 #Yellow
color6 00BFFF #DeepSkyBlue
color7 B0E0E6 #PowderBlue
color8 00FFFF #Cyan #FFD700 #Gold
color9 CD5C5C #IndianRed

#	Text alignment other possible values are commented
#alignment tl
#alignment tm
#alignment tr
#alignment mr
#alignment mm
alignment ml
#alignment bl
#alignment bm
#alignment br

## Gap between borders of screen and text
gap_x 20	## ←|→
gap_y 00	## ↑|↓

##imlib_cache_size 0
imlib_cache_flush_interval 900
max_user_text 48552

# ${texeci 500 bash /media/5/Conky/Weather_com_conky_script/weather_com}\
# ${image /media/5/Conky/Weather_com_conky_script/com5-20.png -p -10,-10 -s 205x740}\

TEXT
${image /media/5/Conky/images/bk_50_410x630.png -p -5,-5 -s 900x900}\
${color3}${voffset 4}${font Fira Mono:medium:size=10}${alignc 10}ΚΑΙΡΟΣ  |  WETTER${color}
${image /media/5/Conky/Weather_com_conky_script/Forecast_Images/now.png -p 5,90 -s 70x70}\
${font Fira Mono:medium:size=11}${color}${texeci 180 sed -n '1p' /media/5/Conky/Weather_com_conky_script/10days} \
${color}${texeci 180 sed -n '1p' /media/5/Conky/Weather_com_conky_script/now}°C\
 (${texeci 180 sed -n '3p' /media/5/Conky/Weather_com_conky_script/now}°C)
${texeci 180 sed -n '2p' /media/5/Conky/Weather_com_conky_script/now}${font}
${goto 80}${color7}↑ | ↓${color}${alignr 8}${texeci 180 sed -n '4p' /media/5/Conky/Weather_com_conky_script/now}° |\
 ${texeci 180 sed -n '5p' /media/5/Conky/Weather_com_conky_script/now}°
${goto 80}${color7}Wind${color}${alignr}${texeci 180 sed -n '7p' /media/5/Conky/Weather_com_conky_script/now}
${goto 80}${color7}UVI${color}${alignr 8}${texeci 180 sed -n '6p' /media/5/Conky/Weather_com_conky_script/now}
${goto 80}${color7}Bar${color}${alignr 8}${texeci 180 sed -n '10p' /media/5/Conky/Weather_com_conky_script/now}
${goto 80}${color7}Vis${color}${alignr 8}${texeci 180 sed -n '11p' /media/5/Conky/Weather_com_conky_script/now}
${goto 80}${color7}Hum${color}${alignr 8}${texeci 180 sed -n '8p' /media/5/Conky/Weather_com_conky_script/now}
${goto 80}${color7}DP${color}${alignr 8}${texeci 180 sed -n '9p' /media/5/Conky/Weather_com_conky_script/now}°C
${swapbar 0,62} ${color5}Sun ↑${color}${alignr 8}${texeci 180 sed -n '13p' /media/5/Conky/Weather_com_conky_script/now}
${goto 80}${color5}Sun ↓${color}${alignr 8}${texeci 180 sed -n '15p' /media/5/Conky/Weather_com_conky_script/now}
${swapbar 0,62} ${texeci 180 sed -n '17p' /media/5/Conky/Weather_com_conky_script/now}
${goto 80}${color7}Moon ↑${color}${alignr 8}${texeci 180 sed -n '19p' /media/5/Conky/Weather_com_conky_script/now}
${goto 80}${color7}Moon ↓${color}${alignr 8}${texeci 180 sed -n '21p' /media/5/Conky/Weather_com_conky_script/now}
${color8}${swapbar 0}${color}
${image /media/5/Conky/images/bk-n-dots/cyan_1.png -p 110,267 -s 1x449}\
${image /media/5/Conky/Weather_com_conky_script/Forecast_Images/h2.png -p 120,285 -s 40x40}\
${image /media/5/Conky/Weather_com_conky_script/Forecast_Images/h3.png -p 120,333 -s 40x40}\
${image /media/5/Conky/Weather_com_conky_script/Forecast_Images/h4.png -p 120,381 -s 40x40}\
${image /media/5/Conky/Weather_com_conky_script/Forecast_Images/h5.png -p 120,429 -s 40x40}\
${image /media/5/Conky/Weather_com_conky_script/Forecast_Images/h6.png -p 120,477 -s 40x40}\
${image /media/5/Conky/Weather_com_conky_script/Forecast_Images/h7.png -p 120,525 -s 40x40}\
${image /media/5/Conky/Weather_com_conky_script/Forecast_Images/h8.png -p 120,573 -s 40x40}\
${image /media/5/Conky/Weather_com_conky_script/Forecast_Images/h9.png -p 120,621 -s 40x40}\
${image /media/5/Conky/Weather_com_conky_script/Forecast_Images/h10.png -p 120,670 -s 40x40}\
${if_match "${texeci 180 sed -n '1p' /media/5/Conky/Weather_com_conky_script/10days}" == "Today"}
${goto 60}${texeci 900 date  --date='1 day' '+%a %e'}${alignr}${tztime GMT+2 %H}:00
${goto 60}${texeci 180 sed -n '71p' /media/5/Conky/Weather_com_conky_script/10days}\
	${goto 177}${texeci 180 sed -n '3p' /media/5/Conky/Weather_com_conky_script/hourly}
${color8}${swapbar 0}${color}
${goto 60}${texeci 900 date  --date='2 day' '+%a %e'}${alignr}${tztime GMT+1 %H}:00
${goto 60}${texeci 180 sed -n '55p' /media/5/Conky/Weather_com_conky_script/10days}\
	${goto 177}${texeci 180 sed -n '11p' /media/5/Conky/Weather_com_conky_script/hourly}
${color8}${swapbar 0}${color}
${goto 60}${texeci 900 date  --date='3 day' '+%a %e'}${alignr}${tztime GMT-0 %H}:00
${goto 60}${texeci 180 sed -n '79p' /media/5/Conky/Weather_com_conky_script/10days}\
	${goto 177}${texeci 180 sed -n '20p' /media/5/Conky/Weather_com_conky_script/hourly}
${color8}${swapbar 0}${color}
${goto 60}${texeci 900 date  --date='4 day' '+%a %e'}${alignr}${tztime GMT-1 %H}:00
${goto 60}${texeci 180 sed -n '103p' /media/5/Conky/Weather_com_conky_script/10days}\
	${goto 177}${texeci 180 sed -n '29p' /media/5/Conky/Weather_com_conky_script/hourly}
${color8}${swapbar 0}${color}
${goto 60}${texeci 900 date  --date='5 day' '+%a %e'}${alignr}${tztime GMT-2 %H}:00
${goto 60}${texeci 180 sed -n '127p' /media/5/Conky/Weather_com_conky_script/10days}\
	${goto 177}${texeci 180 sed -n '38p' /media/5/Conky/Weather_com_conky_script/hourly}
${color8}${swapbar 0}${color}
${goto 60}${texeci 900 date  --date='6 day' '+%a %e'}${alignr}${tztime GMT-3 %H}:00
${goto 60}${texeci 180 sed -n '151p' /media/5/Conky/Weather_com_conky_script/10days}\
	${goto 177}${texeci 180 sed -n '47p' /media/5/Conky/Weather_com_conky_script/hourly}
${color8}${swapbar 0}${color}
${goto 60}${texeci 900 date  --date='7 day' '+%a %e'}${alignr}${tztime GMT-4 %H}:00
${goto 60}${texeci 180 sed -n '175p' /media/5/Conky/Weather_com_conky_script/10days}\
	${goto 177}${texeci 180 sed -n '56p' /media/5/Conky/Weather_com_conky_script/hourly}
${color8}${swapbar 0}${color}
${goto 60}${texeci 900 date  --date='8 day' '+%a %e'}${alignr}${tztime GMT-5 %H}:00
${goto 60}${texeci 180 sed -n '199p' /media/5/Conky/Weather_com_conky_script/10days}\
	${goto 177}${texeci 180 sed -n '65p' /media/5/Conky/Weather_com_conky_script/hourly}
${color8}${swapbar 0}${color}
${goto 60}${texeci 900 date  --date='9 day' '+%a %e'}${alignr}${tztime GMT-6 %H}:00
${goto 60}${texeci 180 sed -n '223p' /media/5/Conky/Weather_com_conky_script/10days}\
	${goto 177}${texeci 180 sed -n '74p' /media/5/Conky/Weather_com_conky_script/hourly}
${image /media/5/Conky/Weather_com_conky_script/Forecast_Images/d2.png -p 10,285 -s 40x40}\
${image /media/5/Conky/Weather_com_conky_script/Forecast_Images/d3.png -p 10,333 -s 40x40}\
${image /media/5/Conky/Weather_com_conky_script/Forecast_Images/d4.png -p 10,381 -s 40x40}\
${image /media/5/Conky/Weather_com_conky_script/Forecast_Images/d5.png -p 10,429 -s 40x40}\
${image /media/5/Conky/Weather_com_conky_script/Forecast_Images/d6.png -p 10,477 -s 40x40}\
${image /media/5/Conky/Weather_com_conky_script/Forecast_Images/d7.png -p 10,525 -s 40x40}\
${image /media/5/Conky/Weather_com_conky_script/Forecast_Images/d8.png -p 10,573 -s 40x40}\
${image /media/5/Conky/Weather_com_conky_script/Forecast_Images/d9.png -p 10,621 -s 40x40}\
${image /media/5/Conky/Weather_com_conky_script/Forecast_Images/d10.png -p 10,670 -s 40x40}\
${color8}${swapbar 0}${color}
${font monofur:size=10}${texeci 180 sed -n '1p' /media/5/Conky/Weather_com_conky_script/10days}${font}
${texeci 180 sed -n '10p' /media/5/Conky/Weather_com_conky_script/10days | fold -s35}

${font monofur:size=10}${texeci 180 sed -n '15p' /media/5/Conky/Weather_com_conky_script/10days|tr a-z A-Z}${font}
${color}${texeci 180 sed -n '19p' /media/5/Conky/Weather_com_conky_script/10days | fold -s35}

${else}
${goto 60}${texeci 900 date  --date='1 day' '+%a %e'}${alignr}${tztime GMT+2 %H}:00
${goto 60}${texeci 180 sed -n '31p' /media/5/Conky/Weather_com_conky_script/10days}\
	${goto 177}${texeci 180 sed -n '2p' /media/5/Conky/Weather_com_conky_script/hourly}
${color8}${swapbar 0}${color}
${goto 60}${texeci 900 date  --date='2 day' '+%a %e'}${alignr}${tztime GMT+1 %H}:00
${goto 60}${texeci 180 sed -n '55p' /media/5/Conky/Weather_com_conky_script/10days}\
	${goto 177}${texeci 180 sed -n '11p' /media/5/Conky/Weather_com_conky_script/hourly}
${color8}${swapbar 0}${color}
${goto 60}${texeci 900 date  --date='3 day' '+%a %e'}${alignr}${tztime GMT-0 %H}:00
${goto 60}${texeci 180 sed -n '79p' /media/5/Conky/Weather_com_conky_script/10days}\
	${goto 177}${texeci 180 sed -n '20p' /media/5/Conky/Weather_com_conky_script/hourly}
${color8}${swapbar 0}${color}
${goto 60}${texeci 900 date  --date='4 day' '+%a %e'}${alignr}${tztime GMT-1 %H}:00
${goto 60}${texeci 180 sed -n '103p' /media/5/Conky/Weather_com_conky_script/10days}\
	${goto 177}${texeci 180 sed -n '29p' /media/5/Conky/Weather_com_conky_script/hourly}
${color8}${swapbar 0}${color}
${goto 60}${texeci 900 date  --date='5 day' '+%a %e'}${alignr}${tztime GMT-2 %H}:00
${goto 60}${texeci 180 sed -n '127p' /media/5/Conky/Weather_com_conky_script/10days}\
	${goto 177}${texeci 180 sed -n '38p' /media/5/Conky/Weather_com_conky_script/hourly}
${color8}${swapbar 0}${color}
${goto 60}${texeci 900 date  --date='6 day' '+%a %e'}${alignr}${tztime GMT-3 %H}:00
${goto 60}${texeci 180 sed -n '151p' /media/5/Conky/Weather_com_conky_script/10days}\
	${goto 177}${texeci 180 sed -n '47p' /media/5/Conky/Weather_com_conky_script/hourly}
${color8}${swapbar 0}${color}
${goto 60}${texeci 900 date  --date='7 day' '+%a %e'}${alignr}${tztime GMT-4 %H}:00
${goto 60}${texeci 180 sed -n '175p' /media/5/Conky/Weather_com_conky_script/10days}\
	${goto 177}${texeci 180 sed -n '56p' /media/5/Conky/Weather_com_conky_script/hourly}
${color8}${swapbar 0}${color}
${goto 60}${texeci 900 date  --date='8 day' '+%a %e'}${alignr}${tztime GMT-5 %H}:00
${goto 60}${texeci 180 sed -n '199p' /media/5/Conky/Weather_com_conky_script/10days}\
	${goto 177}${texeci 180 sed -n '65p' /media/5/Conky/Weather_com_conky_script/hourly}
${color8}${swapbar 0}${color}
${goto 60}${texeci 900 date  --date='9 day' '+%a %e'}${alignr}${tztime GMT-6 %H}:00
${goto 60}${texeci 180 sed -n '223p' /media/5/Conky/Weather_com_conky_script/10days}\
	${goto 177}${texeci 180 sed -n '74p' /media/5/Conky/Weather_com_conky_script/hourly}
${image /media/5/Conky/Weather_com_conky_script/Forecast_Images/d2.png -p 10,285 -s 40x40}\
${image /media/5/Conky/Weather_com_conky_script/Forecast_Images/d3.png -p 10,333 -s 40x40}\
${image /media/5/Conky/Weather_com_conky_script/Forecast_Images/d4.png -p 10,381 -s 40x40}\
${image /media/5/Conky/Weather_com_conky_script/Forecast_Images/d5.png -p 10,429 -s 40x40}\
${image /media/5/Conky/Weather_com_conky_script/Forecast_Images/d6.png -p 10,477 -s 40x40}\
${image /media/5/Conky/Weather_com_conky_script/Forecast_Images/d7.png -p 10,525 -s 40x40}\
${image /media/5/Conky/Weather_com_conky_script/Forecast_Images/d8.png -p 10,573 -s 40x40}\
${image /media/5/Conky/Weather_com_conky_script/Forecast_Images/d9.png -p 10,621 -s 40x40}\
${image /media/5/Conky/Weather_com_conky_script/Forecast_Images/d10.png -p 10,670 -s 40x40}\
${voffset -0}${color8}${swapbar 0}${color}
${font monofur:size=10}${texeci 180 sed -n '1p' /media/5/Conky/Weather_com_conky_script/10days|tr a-z A-Z}${font}
${texeci 180 sed -n '10p' /media/5/Conky/Weather_com_conky_script/10days | fold -s30}

${font monofur:size=10}${texeci 180 sed -n '21p' /media/5/Conky/Weather_com_conky_script/10days|tr a-z A-Z}${font}
${color}${texeci 180 sed -n '25p' /media/5/Conky/Weather_com_conky_script/10days | fold -s30}

${endif}

NOTE:  These lines reside in - ~/.conkyrc - seen on the right.

${execpi 900 /media/5/Conky/Accuweather_conky_script/accuweather -f2015 -f2016}\
${execpi 900 /media/5/Conky/Moongiant_conky_script/moongiant}\
${execpi 900 /media/5/Conky/Weather_com_conky_script/weather_com}\

And this resides in my "autostart" file, the very first thing activated:

#########################################################
## bash /home/teo/Weather_com_conky_script/weather_com
## fresh data before starting anything.

bash /media/5/Conky/Weather_com_conky_script/weather_com
#########################################################

Thank you Teo and unklar.
_____________________________
Whether or not you have the weather depends on whether or not you know Teo!


The sun will never set if you keep walking towards it. - my son
Being positive doesn't understand physics.
_______________________________
Debian 10 Buster = SharpBang ♯!

Online

#3649 2020-07-30 20:11:01

TeoBigusGeekus
BL DieHard
From: /Greece/Kastoria
Registered: 2015-10-04
Posts: 1,405

Re: Conky weather+moon scripts (Accuw/WUndergr/Weather.com/NWS/MoonGiant)

Sector11 wrote:

Whether or not you have the weather depends on whether or not you know Teo!

I liked that, I'm the weatherman tongue


Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!

Offline

#3650 2020-07-30 23:51:20

Sector11
Conky 1.9er Mod Squid
From: Upstairs
Registered: 2015-08-20
Posts: 6,396

Re: Conky weather+moon scripts (Accuw/WUndergr/Weather.com/NWS/MoonGiant)

That's right, and you have been proving it superbly since the days your scripts were on the Ubu forums.

And that's a little longer than a few weeks ago. wink


The sun will never set if you keep walking towards it. - my son
Being positive doesn't understand physics.
_______________________________
Debian 10 Buster = SharpBang ♯!

Online

Board footer

Powered by FluxBB