You are not logged in.

#2661 2019-08-29 12:08:19

TeoBigusGeekus
BL DieHard
From: /Deutschland/Frankfurt_am_Main
Registered: 2015-10-04
Posts: 1,486

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

Meh, then I'll always be anxious about whether I've copied some irrelevant file inside the git folder and forgotten to include it in the gitignore file.


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

#2662 2019-08-29 12:40:02

morfik
Member
From: Europe/Poland
Registered: 2016-09-08
Posts: 169
Website

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

It will always show you everything when you issue "git status".

Offline

#2663 2019-08-29 13:09:20

TeoBigusGeekus
BL DieHard
From: /Deutschland/Frankfurt_am_Main
Registered: 2015-10-04
Posts: 1,486

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

It could be late by then wink


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

#2664 2019-08-29 13:33:05

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

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

TeoBigusGeekus wrote:

It looks like a rotary phone.

well ... okay...  neutral But soon a really modern rotary phone with weather forecast  lol

Offline

#2665 2019-08-29 13:59:51

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

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

Teo, my three most important accuweather conkys are back on line.  wink
I finally had to dig up the good old mageia5 as a comparison for the hour display. Otherwise that would have become nothing... (but, git and w3m could actually be installed)  big_smile  lol

2019-08-28-19-35-08_scrot.th.png 2019-08-29-14-56-06_scrot.th.png hourly1.th.png hourly2.th.png

The merit is yours!  hi.gif

Offline

#2666 2019-08-29 14:19:55

TeoBigusGeekus
BL DieHard
From: /Deutschland/Frankfurt_am_Main
Registered: 2015-10-04
Posts: 1,486

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

ragamatrix wrote:

well ... okay...  neutral But soon a really modern rotary phone with weather forecast  lol

Hey, don't get me wrong, it's beautiful!
I can't wait to see the final outcome.

unklar wrote:

Teo, my three most important accuweather conkys are back on line.  wink
I finally had to dig up the good old mageia5 as a comparison for the hour display. Otherwise that would have become nothing... (but, git and w3m could actually be installed)  big_smile  lol

The merit is yours!

Brilliant unklar, thanks for the feedback!
It looks like the Accuweather script isn't holding any more surprises for us (knock on wood).

I'm still waiting for people to report anything about Accuweather or WUnderground.
But no news, good news  big_smile ...


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

#2667 2019-08-29 14:34:08

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

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

hello

Theo my accuweather have some problem

1567089187.png

dailyforecast is good but somethings in conky are not here

conkyrc

conky.config = {
-- ------------------------- Windows Settings
	own_window = true,
	own_window_type = 'normal',
	own_window_transparent = false,
	own_window_hints = 'undecorated,below,skip_taskbar,skip_pager',
	own_window_argb_visual = true,
	own_window_argb_value = 0,

	double_buffer = true,
	background = true,

-- ------------------------- Position
	alignment = 'top_left',

	minimum_width = 1300,
	minimum_height = 165,
	maximum_width = 1300,
	gap_x = 626,
	gap_y = 870,

-- ------------------------- Font
	use_xft = true,
	xftalpha = 0.8,
	override_utf8_locale = true,

	draw_shades = false,
	default_shade_color = 'black',

	draw_borders = false,
	draw_outline = false,

	font = 'Monofur:bold:size=8',

-- ------------------------ Colors
	default_color = 'DCDCDC',
	color0 = '87CF3E',
	color1 = 'DDDDDD',
	color2 = 'AAAAAA',
	color3 = '888888',
        color7 = 'red',
        color9 = '6495ee',

-- ------------------------- Other #${execi 3600 bash $HOME/1_accuweather/alertes.sh}
	update_interval = 1.0,

--	template0 = [[${GOTO 50}${color\1}${top_mem name \2}${alignr}${top_mem mem \2}%]],${template0 0 1} ${template0 1 2}

	--top_name_verbose = false,
	no_buffers = true,
lua_load = '~/.conky/lua/image.lua',

};

conky.text = [[
${execi 1800 bash $HOME/1_accuweather/1_accuweather -f2015}${execi 3500 bash $HOME/1_accuweather/alertes.sh}${texeci 4500 bash $HOME/4_Moon/moon_MoonGiant}
${voffset 1}${goto 16}${font Monofur:bold:size=14:}Sarreguemines : ${font} ${execi 90 sed -n '4p' $HOME/1_accuweather/curr_cond} 
${goto 16}Temp.: ${execi 90 sed -n '2p' $HOME/1_accuweather/curr_cond} °C   Res.: ${execi 90 sed -n '3p' $HOME/1_accuweather/curr_cond} °C 
${voffset -6}
${goto 200}Vent : ${execi 90 sed -n '6p' $HOME/1_accuweather/curr_cond |cut -c11-14} 
${goto 200}Vitesse : ${execi 90 sed -n '6p' $HOME/1_accuweather/curr_cond |cut -c1-2} km/h
${goto 200}Préssion : ${execi 90 sed -n '8p' $HOME/1_accuweather/curr_cond | cut -c1-4}mb ${execi 90 sed -n '8p' $HOME/1_accuweather/curr_cond | cut -c1-4 > $HOME/1_accuweather/pression}
${goto 200}Indice UV : ${execi 90 sed -n '9p' $HOME/1_accuweather/curr_cond}
${goto 200}${scroll 20 ${texeci 600 sed -n  '13p' $HOME/1_accuweather/daily_forecast}}
${goto 16}Phase : ${execpi 600 sed -n '7p' $HOME/4_Moon/raw-fr}
Alerte 1  ${scroll 20 ${execi 60 sed -n '1p' $HOME/1_accuweather/Alertes}}
Alerte 2  ${scroll 20 ${execi 60 sed -n '2p' $HOME/1_accuweather/Alertes}}
${voffset -110}
${goto  450}${color7}${texeci 600 sed -n  '47p' $HOME/1_accuweather/daily_forecast}°${color}/${color9}${texeci 600 sed -n '68p' $HOME/1_accuweather/daily_forecast}°${color}\
${goto  600}${color7}${texeci 600 sed -n  '87p' $HOME/1_accuweather/daily_forecast}°${color}/${color9}${texeci 600 sed -n '108p' $HOME/1_accuweather/daily_forecast}°${color}\
${goto  750}${color7}${texeci 600 sed -n '127p' $HOME/1_accuweather/daily_forecast}°${color}/${color9}${texeci 600 sed -n '148p' $HOME/1_accuweather/daily_forecast}°${color}\
${goto  900}${color7}${texeci 600 sed -n '167p' $HOME/1_accuweather/daily_forecast}°${color}/${color9}${texeci 600 sed -n '188p' $HOME/1_accuweather/daily_forecast}°${color}\
${goto 1050}${color7}${texeci 600 sed -n '207p' $HOME/1_accuweather/daily_forecast}°${color}/${color9}${texeci 600 sed -n '228p' $HOME/1_accuweather/daily_forecast}°${color}\
${goto 1200}${color7}${texeci 600 sed -n '247p' $HOME/1_accuweather/daily_forecast}°${color}/${color9}${texeci 600 sed -n '268p' $HOME/1_accuweather/daily_forecast}°${color}

${voffset 50}
${goto  450}${execi 3600 echo `date --date="1 day" | awk '{print $1}' | cut -c1-3`}.${execi 3600 echo `date --date="1 day" | awk '{print $2}'`}\
${goto  600}${execi 3600 echo `date --date="2 day" | awk '{print $1}' | cut -c1-3`}.${execi 3600 echo `date --date="2 day" | awk '{print $2}'`}\
${goto  750}${execi 3600 echo `date --date="3 day" | awk '{print $1}' | cut -c1-3`}.${execi 3600 echo `date --date="3 day" | awk '{print $2}'`}\
${goto  900}${execi 3600 echo `date --date="4 day" | awk '{print $1}' | cut -c1-3`}.${execi 3600 echo `date --date="4 day" | awk '{print $2}'`}\
${goto 1050}${execi 3600 echo `date --date="5 day" | awk '{print $1}' | cut -c1-3`}.${execi 3600 echo `date --date="5 day" | awk '{print $2}'`}\
${goto 1200}${execi 3600 echo `date --date="6 day" | awk '{print $1}' | cut -c1-3`}.${execi 3600 echo `date --date="6 day" | awk '{print $2}'`}

${voffset -20}
${goto  400}${scroll 20 ${texeci 600 sed -n  '51p' $HOME/1_accuweather/daily_forecast}}\
${goto  550}${scroll 20 ${texeci 600 sed -n  '91p' $HOME/1_accuweather/daily_forecast}}\
${goto  710}${scroll 20 ${texeci 600 sed -n '131p' $HOME/1_accuweather/daily_forecast}}\
${goto  850}${scroll 20 ${texeci 600 sed -n '171p' $HOME/1_accuweather/daily_forecast}}\
${goto 1000}${scroll 20 ${texeci 600 sed -n '211p' $HOME/1_accuweather/daily_forecast}}\
${goto 1150}${scroll 20 ${texeci 600 sed -n '251p' $HOME/1_accuweather/daily_forecast}}

${execi 1800 bash $HOME/conky-meteo-dark_sky/3b1}
${voffset -14}${goto 16} Prévision de la semaine : ${exec cat $HOME/conky-meteo-dark_sky/rawdata | jq --raw-output '.daily.summary'}
${lua fDrawImage $HOME/1_accuweather/forecast_2015/forecast_0.png 0 50 60 60}
${lua fDrawImage $HOME/1_accuweather/Wind1.png 150 50 45 45}
${lua fDrawImage $HOME/1_accuweather/forecast_2015/forecast_2.png  430 45 70 70}
${lua fDrawImage $HOME/1_accuweather/forecast_2015/forecast_3.png  580 45 70 70}
${lua fDrawImage $HOME/1_accuweather/forecast_2015/forecast_4.png  730 45 70 70}
${lua fDrawImage $HOME/1_accuweather/forecast_2015/forecast_5.png  880 45 70 70}
${lua fDrawImage $HOME/1_accuweather/forecast_2015/forecast_6.png 1030 45 70 70}
${lua fDrawImage $HOME/1_accuweather/forecast_2015/forecast_7.png 1180 45 70 70}
${lua fDrawImage $HOME/4_Moon/0.png 80 55 45 45}

${voffset -500}
]];

here same conky with dark_sky

1567089539.png

Last edited by loutch (2019-08-29 14:38:36)


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

#2668 2019-08-29 14:59:33

TeoBigusGeekus
BL DieHard
From: /Deutschland/Frankfurt_am_Main
Registered: 2015-10-04
Posts: 1,486

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

Just when I thought everything was going well.
What seems to be the trouble?


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

#2669 2019-08-29 15:07:27

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

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

sometime i don't have in conky temperature from d1-d2-d3 etc

& no daily forecast . i must wait for 1 or 2 update from the script to have everithing good in conky like this


1567091198.png

sometime whith update from script that look good after 1 or 2 hours

Last edited by loutch (2019-08-29 15:08:29)


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

#2670 2019-08-29 15:54:48

TeoBigusGeekus
BL DieHard
From: /Deutschland/Frankfurt_am_Main
Registered: 2015-10-04
Posts: 1,486

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

Can you find the forecast in the curr_cond, daily_forecast and hourly files?


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

#2671 2019-08-29 16:53:52

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

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

curr_cond line 4 yes

daily_forecast

line 11  51  91  etc ...  yes

hourly files

line 18 34 58 etc ...  yes

& all in french


edit

with hour conkyrc2015 it work great at launch

1567097943.png

i must look what hapened with mine .

@+


edit 2

i have it

it was this

${execi 1800 bash $HOME/1_accuweather/1_accuweather -f2015}${execi 3500 bash $HOME/1_accuweather/alertes.sh}${execi 4500 bash $HOME/4_Moon/moon_MoonGiant}
${execi 1800 bash $HOME/1_accuweather/1_accuweather -f2015}

i must found another place for

${execi 4500 bash $HOME/4_Moon/moon_MoonGiant}

& replace alertes.sh in accuweather script .


edit 3

all work great

Last edited by loutch (2019-08-29 18:20:32)


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

#2672 2019-08-29 18:34:53

TeoBigusGeekus
BL DieHard
From: /Deutschland/Frankfurt_am_Main
Registered: 2015-10-04
Posts: 1,486

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

Ok, good to know


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

#2673 2019-08-30 05:43:16

ohnonot
...again
Registered: 2015-09-29
Posts: 5,592

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

morfik wrote:

It will always show you everything when you issue "git status".

TeoBigusGeekus wrote:

It could be late by then wink

No, git status does not "do" anything.
So if you notice - with git status - that all those temporary forecast files would get added to the repo, you just adjust your .gitignore file accordingly, issue 'git status' again and they should get properly ignored.
Feel free to look at my own git repos, maybe esp. my weather conky.

Last edited by ohnonot (2021-07-08 09:23:31)

Offline

#2674 2019-08-30 07:51:59

TeoBigusGeekus
BL DieHard
From: /Deutschland/Frankfurt_am_Main
Registered: 2015-10-04
Posts: 1,486

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

ohnonot wrote:

Feel free to look at my own git repos, maybe esp. my weather conky.

Thanks ohnonot, I appreciate it.

Found some info on the execpi issue
https://github.com/brndnmtthws/conky/issues/870
Fortunately it's been labeled as a bug, which means that it is going to be addressed in the future (let's at least hope).
We'll see...


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

#2675 2019-08-30 11:18:06

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

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

@ Théo

I permice me to ad any wind direction icon .

ATTENTION IS IN FRENCH

here the section in 1_accuweather script



# icone direction vent 
wind_direction=$(sed -n 1p $HOME/1_accuweather/vent)
if [[ $wind_direction == "S" ]]; then
	cp $HOME/1_accuweather/vents/"02.png" $HOME/1_accuweather/Wind1.png
elif [[ $wind_direction == "South" ]]; then
	cp $HOME/1_accuweatherI/vents/"02.png" $HOME/1_accuweather/Wind1.png
elif [[ $wind_direction == "SSO" ]]; then
	cp $HOME/1_accuweather/vents/"03.png" $HOME/1_accuweather/Wind1.png
elif [[ $wind_direction == "SO" ]]; then
	cp $HOME/1_accuweather/vents/"04.png" $HOME/1_accuweather/Wind1.png
elif [[ $wind_direction == "OSO" ]]; then
	cp $HOME/1_accuweather/vents/"05.png" $HOME/1_accuweather/Wind1.png
elif [[ $wind_direction == "O" ]]; then
	cp $HOME/1_accuweather/vents/"06.png" $HOME/1_accuweather/Wind1.png
elif [[ $wind_direction == "West" ]]; then
	cp $HOME/1_accuweather/vents/"06.png" $HOME/1_accuweather/Wind1.png
elif [[ $wind_direction == "ONO" ]]; then
	cp $HOME/1_accuweather/vents/"07.png" $HOME/1_accuweather/Wind1.png
elif [[ $wind_direction == "NO" ]]; then
	cp $HOME/1_accuweather/vents/"08.png" $HOME/1_accuweather/Wind1.png
elif [[ $wind_direction == "NNO" ]]; then
	cp $HOME/1_accuweather/vents/"09.png" $HOME/1_accuweather/Wind1.png
elif [[ $wind_direction == "N" ]]; then
	cp $HOME/1_accuweather/vents/"10.png" $HOME/1_accuweather/Wind1.png
elif [[ $wind_direction == "North" ]]; then
	cp $HOME/1_accuweather/vents/"10.png" $HOME/1_accuweather/Wind1.png
elif [[ $wind_direction == "NNE" ]]; then
	cp $HOME/1_accuweather/vents/"11.png" $HOME/1_accuweather/Wind1.png
elif [[ $wind_direction == "NE" ]]; then
	cp $HOME/1_accuweather/vents/"12.png" $HOME/1_accuweather/Wind1.png
elif [[ $wind_direction == "ENE" ]]; then
	cp $HOME/1_accuweather/vents/"13.png" $HOME/1_accuweather/Wind1.png
elif [[ $wind_direction == "E" ]]; then
	cp $HOME/1_accuweather/vents/"14.png" $HOME/1_accuweather/Wind1.png
elif [[ $wind_direction == "East" ]]; then
	cp $HOME/1_accuweather/vents/"14.png" $HOME/1_accuweather/Wind1.png
elif [[ $wind_direction == "ESE" ]]; then
	cp $HOME/1_accuweather/vents/"15.png" $HOME/1_accuweather/Wind1.png
elif [[ $wind_direction == "SE" ]]; then
	cp $HOME/1_accuweather/vents/"16.png" $HOME/1_accuweather/Wind1.png
elif [[ $wind_direction == "SSE" ]]; then
	cp $HOME/1_accuweather/vents/"17.png" $HOME/1_accuweather/Wind1.png
elif [[ $wind_direction == "Variable" ]]; then
	cp $HOME/1_accuweather/vents/"00.png" $HOME/1_accuweather/Wind1.png
fi

in hour conkyrc you must ad this to make vent file


${execi 90 sed -n '6p' $HOME/1_accuweather/curr_cond |cut -c10-14 > $HOME/1_accuweather/vent}

& don't forget to ad any wind_icon folder

1567170079.png


1567163643.png

Last edited by loutch (2019-08-31 07:44:11)


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

#2676 2019-08-30 13:22:47

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

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

Dear friends, here's the "conky-wu-rotary-phone-hours" Teo helped me to find the name  cool
It's well pass with differents light backgrounds wall:
2019-08-30-15-09-30_scrot.th.png2019-08-30-15-14-35_scrot.th.png2019-08-30-15-13-02_scrot.th.png
It was a nightmare with ${voffset values}
conky-wu-rotary-phone-hours:

conky.config = {
-- Create own window instead of using desktop (required in nautilus)
	own_window = true,
	own_window_type = 'normal',
	--own_window_transparent = true,
	own_window_hints = 'undecorated,below,skip_taskbar,skip_pager,sticky',
	own_window_argb_visual = true,
	own_window_argb_value = 0,
-- Use double buffering (reduces flicker, may not work for everyone)
	double_buffer = true,
	text_buffer_size = 2048,
-- fiddle with window
	use_spacer = 'none',
	use_xft = true,
	background = true,
-- Update interval in seconds
	update_interval = 1,
	cpu_avg_samples = 2,
	net_avg_samples = 2,
-- Minimum size of text area
	minimum_width = 400, minimum_height = 400,
	maximum_width = 400,

	override_utf8_locale = true,

-- Draw shades?
	draw_shades = false,
	default_shade_color = '#000000',
	draw_outline = true,
	default_outline_color = '#000000',
-- Text stuff
	draw_outline = true,-- amplifies text if yes
	draw_borders = false,
--font freesans -12
	--fonts tests:
--JD LCD Rounded:style=Bold
--LCDMono2
--Lucida Sans
--Neogrey
--PF Tempesta Five Condensed
--PF Tempesta Five Compressed
--Visitor TT1 BRK:Medium:size=9
--Anonymous Pro:Medium:size=8
--Terminus
--Fira Mono
	font = 'Fira Mono:size=10', --important for shades
	template0 = 'Fira Mono:size=11',
	template1 = 'Fira Mono:size=11',

	uppercase = false,-- set to yes if you want all text to be in uppercase

-- Stippled borders?
	stippled_borders = 3,

--border_inner_margin = '9',
-- border width
	border_width = 10,

-- Default colors and also border colors, grey90 == #e5e5e5
	--default_color = '#cbcbcb',
	--color1  = '#505454', 
	--own_window_colour = 'brown',
	--own_window_transparent = true,
-- color
	default_color = 'cbcbcb',
	color0 = '98FB98', --PaleGreen
	color1 = '778899', --LightSlateGray
	color2 = 'FFD700', --Gold
	color3 = 'B0E0E6', --PowderBlue
	color4 = 'F4A460', --SandyBrown
	color5 = 'DEB887', --BurlyWood
	color6 = '00BFFF', --DeepSkyBlue 8ED1E9
	color7 = '5F9EA0', --CadetBlue
	color8 = 'FFA500', --Orange
	color9 = 'FF4500', --OrangeRed
	

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

-- Gap between borders of screen and text
	gap_x = 30,
	gap_y = 50,

	imlib_cache_size = 0,
-- script lua	
	lua_load = '~/.conky/script/image.lua',
--[[
#${lua conky_draw_bg 4 0 0 0 155 0x000000 0.3}\
#${lua conky_draw_bg 4 0 165 0 50 0x000000 0.3}\
#${lua conky_draw_bg 4 0 225 0 65 0x000000 0.3}\
#${lua conky_draw_bg 4 0 0 0 290 0x000000 0.4}\
--]]
};

conky.text = [[
${lua fDrawImage $HOME/2_Wunderground/BG-Imagemagick.png 0 0 422 422}
${lua fDrawImage $HOME/2_Wunderground/Forecast_Images/Moon_phase.png 190 265 40 40}
${lua fDrawImage $HOME/2_Wunderground/Forecast_Images/current.png 170 110 75 75}
${execi 600 bash $HOME/2_Wunderground/2_wun}\
${voffset -35}${goto 200}${execi 600 echo `date --date "1 day" +%a|sed -e 's/\(.\{1\}\)/\U\1/'`}
${voffset 18}${color3}${goto 188}${execpi 600  sed -n '110p' $HOME/2_Wunderground/10days}°|${color8}${goto 220}${execpi 600 sed -n '112p' $HOME/2_Wunderground/10days}°${color}
${lua fDrawImage $HOME/2_Wunderground/Forecast_Images/2.png 197 42 30 30}\
${voffset -17}${goto 295}${execi 600 echo `date --date "2 day" +%a|sed -e 's/\(.\{1\}\)/\U\1/'`}
${voffset 17}${color3}${goto 283}${execi 600  sed -n '208p' $HOME/2_Wunderground/10days}°|${color8}${goto 315}${execi 600  sed -n '210p' $HOME/2_Wunderground/10days}°${color}
${lua fDrawImage $HOME/2_Wunderground/Forecast_Images/3.png 297 75 30 30}\
${voffset 20}${goto 140}${execpi 600 sed -n '88p' $HOME/2_Wunderground/curr_cond|cut -c1-20}\
${font Fira Mono:Style=Bold:size=15}${voffset 20}${goto 140}${if_match ${execpi 600 sed -n '52p' $HOME/2_Wunderground/curr_cond}<5}°${color lightblue}${blink ${execpi 600 sed -n '52p' $HOME/2_Wunderground/curr_cond}°}${else}${color orange}${execpi 600 sed -n '52p' $HOME/2_Wunderground/curr_cond}°${endif}${font}${color}\
${goto 230}Wind ${execpi 600 sed -n '82p' $HOME/2_Wunderground/curr_cond} \
${voffset 17}${goto 130}± ${execpi 600 sed -n '58p' $HOME/2_Wunderground/curr_cond}°\
${goto 230}${execpi 600 sed -n '86p' $HOME/2_Wunderground/curr_cond} km/h
${goto 115}${execpi 600 sed -n '22p' $HOME/2_Wunderground/curr_cond} mm Prec\
${goto 230}${execpi 600 sed -n '36p' $HOME/2_Wunderground/curr_cond} % Hum

##--bloc heures##
${voffset -15}${color6}${goto 115}${execi 600 echo `date --date "2 hour" +%H:%M|sed -e 's/\(.\{1\}\)/\U\1/'`}\
${goto 165}${execi 600 echo `date --date "4 hour" +%H:%M|sed -e 's/\(.\{1\}\)/\U\1/'`}\
${goto 215}${execi 600 echo `date --date "6 hour" +%H:%M|sed -e 's/\(.\{1\}\)/\U\1/'`}\
${goto 265}${execi 600 echo `date --date "8 hour" +%H:%M|sed -e 's/\(.\{1\}\)/\U\1/'`}${color}\
${voffset 33}${color8}${goto 125}${execpi 600  sed -n '80p' $HOME/2_Wunderground/hourly}°\
${goto 175}${execi 600  sed -n '226p' $HOME/2_Wunderground/hourly}°\
${goto 225}${execi 600  sed -n '372p' $HOME/2_Wunderground/hourly}°\
${goto 275}${execi 600  sed -n '518p' $HOME/2_Wunderground/hourly}°${color}\
${voffset 45}${goto 190}${font Open Sans:size=7}${execpi 600 sed -n '1p' $HOME/2_Wunderground/moon_data}${font}
${voffset 10}${font :size=7}${goto 80}UV Index: ${execpi 600 sed -n '72p' $HOME/2_Wunderground/curr_cond}
${goto 100}${execpi 600 sed -n '30p' $HOME/2_Wunderground/curr_cond} mb
${goto 120}Sunrise: ${color8}${execpi 600 sed -n '44p' $HOME/2_Wunderground/curr_cond|cut -c1-5} 
${goto 140}${color}Sunset: ${color1}${execpi 600 sed -n '48p' $HOME/2_Wunderground/curr_cond|cut -c1-5}${font}${color}

${lua fDrawImage $HOME/2_Wunderground/Forecast_Images/h2.png 123 225 30 30}
${lua fDrawImage $HOME/2_Wunderground/Forecast_Images/h4.png 173 225 30 30}
${lua fDrawImage $HOME/2_Wunderground/Forecast_Images/h6.png 223 225 30 30}
${lua fDrawImage $HOME/2_Wunderground/Forecast_Images/h8.png 273 225 30 30}${color}
##-fin-bloc heures#
${voffset -310}${goto 350}${execi 600 echo `date --date "3 day" +%a|sed -e 's/\(.\{1\}\)/\U\1/'`}
${voffset 18}${color3}${goto 335}${execi 600  sed -n '306p' $HOME/2_Wunderground/10days}°|${color8}${goto 368}${execi 600  sed -n '308p' $HOME/2_Wunderground/10days}°${color}
${lua fDrawImage $HOME/2_Wunderground/Forecast_Images/4.png 347 167 30 30}\
${voffset 49}${goto 332}${execi 600 echo `date --date "4 day" +%a|sed -e 's/\(.\{1\}\)/\U\1/'`}
${voffset 18}${color3}${goto 315}${execi 600  sed -n '404p' $HOME/2_Wunderground/10days}°|${color8}${goto 348}${execi 600  sed -n '406p' $HOME/2_Wunderground/10days}°${color}
${lua fDrawImage $HOME/2_Wunderground/Forecast_Images/5.png 330 265 30 30}\
${voffset 13}${goto 250}${execi 600 echo `date --date "5 day" +%a|sed -e 's/\(.\{1\}\)/\U\1/'`}\
${voffset 35}${color3}${goto 238}${execi 600  sed -n '502p' $HOME/2_Wunderground/10days}°|${color8}${goto 270}${execi 600  sed -n '504p' $HOME/2_Wunderground/10days}°${color}
${lua fDrawImage $HOME/2_Wunderground/Forecast_Images/6.png 247 333 30 30}\

]];

The bg:
BG-Imagemagick.th.png

Last edited by ragamatrix (2019-08-30 13:27:31)

Offline

#2677 2019-08-31 06:38:24

TeoBigusGeekus
BL DieHard
From: /Deutschland/Frankfurt_am_Main
Registered: 2015-10-04
Posts: 1,486

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

@loutch
Very beautiful my friend, congrats!!!

@ragamatrix
I'm speechless!!! That's a thing of beauty! This one almost tempted me to install conky-lua (almost).


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

#2678 2019-08-31 07:48:45

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

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

Hello

This mornig that don't work because in the first line in vent file sometime there is a space before the wind direction, you must make a change in accuweather script

"N" no space
" ENE" space

etc ....

Last edited by loutch (2019-08-31 07:50:42)


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

#2679 2019-08-31 08:01:49

TeoBigusGeekus
BL DieHard
From: /Deutschland/Frankfurt_am_Main
Registered: 2015-10-04
Posts: 1,486

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

Is it in the hourly file?


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

#2680 2019-08-31 08:19:23

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

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

no in vent file

i use this to create it

${execi 90 sed -n '6p' $HOME/1_accuweather/curr_cond |cut -c10-14 > $HOME/1_accuweather/vent}

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

Board footer

Powered by FluxBB