You are not logged in.

#2521 2019-08-21 12:54:36

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

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

I know, you going to have to intervene yourself to resize and rearrange the images.
There's nothing I can do about it, sorry.


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

#2522 2019-08-21 14:09:04

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

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

Hello

@ Théo


SUPER

work great with image.lua

1566396508.png

Must just made completly in french


@+

edit

date & moon in french  now just weather

1566399715.png

Last edited by loutch (2019-08-21 15:02:21)


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

#2523 2019-08-21 14:51:00

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 looks really good loutch; more to come (hourly forecast) today or in the next few days.


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

#2524 2019-08-21 14:52:09

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

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

I played with screenruler to replace icons:

conky.config = {
-- Create own window instead of using desktop (required in nautilus)
	own_window = true,
	own_window_type = 'override',
	own_window_transparent = false,
	own_window_hints = 'undecorated,below,skip_taskbar,skip_pager',

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

-- fiddle with window
	use_spacer = 'right',
	use_xft = true,

-- Update interval in seconds
	update_interval = 3,

-- Minimum size of text area
	minimum_width = 385, minimum_height = 500,
	maximum_width = 385,

	override_utf8_locale = true,

-- Draw shades?
	draw_shades = true,

-- Text stuff
	draw_outline = true,-- amplifies text if yes
	draw_borders = false,
--font freesans -12
	font = 'Arial:size=9',
	uppercase = false,-- set to yes if you want all text to be in uppercase

-- Stippled borders?
	stippled_borders = 3,

-- border margins
	border_inner_margin = 9,

-- border width
	border_width = 10,

-- Default colors and also border colors, grey90 == #e5e5e5
	default_color = '#77DDFF',

	own_window_colour = 'brown',
	own_window_transparent = true,

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

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

	imlib_cache_size = 0,
-- stuff after 'TEXT' will be formatted on screen

};

conky.text = [[
${color FDB72E}${font Arial:size=11}WEATHER ${hr 2}$color${texeci 500 bash $HOME/2_Wunderground/2_wun}${font}
${image $HOME/2_Wunderground/Forecast_Images/current.png -p 0,25 -s 155x155}${font Arial:size=11}${goto 180}${execpi 600 sed -n '88p' $HOME/2_Wunderground/curr_cond|cut -c1-20}
${goto 180}${execpi 600 sed -n '88p' $HOME/2_Wunderground/curr_cond|cut -c21-40}
${font Arial:size=20}${goto 180}${execpi 600 sed -n '52p' $HOME/2_Wunderground/curr_cond}° (${execpi 600 sed -n '58p' $HOME/2_Wunderground/curr_cond}°)${font}
${font Arial:size=8}
${goto 180}${execpi 600 sed -n '1p' $HOME/2_Wunderground/moon_data}${image $HOME/2_Wunderground/Forecast_Images/Moon_phase.png -p 310,145 -s 40x40}

${color FDB72E}WIND: $color${execpi 600 sed -n '82p' $HOME/2_Wunderground/curr_cond} ${execpi 600 sed -n '86p' $HOME/2_Wunderground/curr_cond}km/h${goto 200}${color FDB72E}PRESSURE: $color${alignr}${execpi 600 sed -n '30p' $HOME/2_Wunderground/curr_cond}hPa
${color FDB72E}VISIBIL.: $color${execpi 600 sed -n '78p' $HOME/2_Wunderground/curr_cond} km${goto 200}${color FDB72E}HUMIDITY: $color${alignr}${execpi 600 sed -n '36p' $HOME/2_Wunderground/curr_cond} %
${color FDB72E}UV INDEX: $color${execpi 600 sed -n '72p' $HOME/2_Wunderground/curr_cond}${goto 200}${color FDB72E}PRECIP. (6h): $color${alignr}${execpi 600 sed -n '22p' $HOME/2_Wunderground/curr_cond} mm
${color FDB72E}SUNRISE: $color${execpi 600 sed -n '44p' $HOME/2_Wunderground/curr_cond|cut -c1-5}${goto 200}${color FDB72E}MOONRISE: $color${alignr}${execpi 600 sed -n '2p' $HOME/2_Wunderground/moon_data|cut -c1-5}
${color FDB72E}SUNSET: $color${execpi 600 sed -n '48p' $HOME/2_Wunderground/curr_cond|cut -c1-5}${goto 200}${color FDB72E}MOONSET: $color${alignr}${execpi 600 sed -n '3p' $HOME/2_Wunderground/moon_data|cut -c1-5}
${hr 1}
${if_match "${execpi 600 sed -n '2p' $HOME/2_Wunderground/10days}" == "Tonight"}${color FDB72E}${font Arial:size=10}${execpi 600 sed -n '2p' $HOME/2_Wunderground/10days|tr a-z A-Z}${goto 210}${execpi 600 sed -n '100p' $HOME/2_Wunderground/10days|tr a-z A-Z}${image $HOME/2_Wunderground/Forecast_Images/1.png -p 0,195 -s 70x70}${image $HOME/2_Wunderground/Forecast_Images/2.png -p 190,195 -s 70x70}$color$font
${goto 100}- /${execpi 600 sed -n '12p' $HOME/2_Wunderground/10days}°${goto 290}${execpi 600 sed -n '110p' $HOME/2_Wunderground/10days}°/${execpi 600 sed -n '208p' $HOME/2_Wunderground/10days}°
${font Arial:size=8}${goto 100}${execpi 600 sed -n '46p' $HOME/2_Wunderground/10days} ${execpi 600 sed -n '42p' $HOME/2_Wunderground/10days}km/h${goto 290}${execpi 600 sed -n '144p' $HOME/2_Wunderground/10days} ${execpi 600 sed -n '140p' $HOME/2_Wunderground/10days}km/h
${goto 100}${execpi 600 sed -n '26p' $HOME/2_Wunderground/10days}${goto 290}${execpi 600 sed -n '124p' $HOME/2_Wunderground/10days}
${hr 1}
${font Arial:size=8}${color FDB72E}${execpi 600 sed -n '296p' $HOME/2_Wunderground/10days|tr a-z A-Z}${goto 150}${execpi 600 sed -n '492p' $HOME/2_Wunderground/10days|tr a-z A-Z}${goto 280}${execpi 600 sed -n '688p' $HOME/2_Wunderground/10days|tr a-z A-Z}${image $HOME/2_Wunderground/Forecast_Images/4.png -p 0,270 -s 65x65}${image $HOME/2_Wunderground/Forecast_Images/6.png -p 130,270 -s 65x65}${image $HOME/2_Wunderground/Forecast_Images/8.png -p 255,270 -s 65x65}$color${font Arial:size=5}

${font Arial:size=8}${goto 100}${execpi 600 sed -n '306p' $HOME/2_Wunderground/10days}°${goto 230}${execpi 600 sed -n '502p' $HOME/2_Wunderground/10days}°${goto 355}${execpi 600 sed -n '698p' $HOME/2_Wunderground/10days}°
${goto 110}${execpi 600 sed -n '404p' $HOME/2_Wunderground/10days}°${goto 240}${execpi 600 sed -n '600p' $HOME/2_Wunderground/10days}°${goto 355}${execpi 600 sed -n '796p' $HOME/2_Wunderground/10days}°${font Arial:size=5}

${font Arial:size=8}${execpi 600 sed -n '320p' $HOME/2_Wunderground/10days}${goto 150}${execpi 600 sed -n '516p' $HOME/2_Wunderground/10days}${goto 280}${execpi 600 sed -n '712p' $HOME/2_Wunderground/10days}
${hr 1}
${color FDB72E}${goto 25}${execpi 600 sed -n '884p' $HOME/2_Wunderground/10days|tr a-z A-Z|cut -c1-3}${goto 90}${execpi 600 sed -n '1080p' $HOME/2_Wunderground/10days|tr a-z A-Z|cut -c1-3}${goto 155}${execpi 600 sed -n '1276p' $HOME/2_Wunderground/10days|tr a-z A-Z|cut -c1-3}${goto 220}${execpi 600 sed -n '1472p' $HOME/2_Wunderground/10days|tr a-z A-Z|cut -c1-3}${goto 285}${execpi 600 sed -n '1668p' $HOME/2_Wunderground/10days|tr a-z A-Z|cut -c1-3}${goto 350}${execpi 600 sed -n '1864p' $HOME/2_Wunderground/10days|tr a-z A-Z|cut -c1-3}${image $HOME/2_Wunderground/Forecast_Images/10.png -p 0,355 -s 50x50}${image $HOME/2_Wunderground/Forecast_Images/12.png -p 65,355 -s 50x50}${image $HOME/2_Wunderground/Forecast_Images/14.png -p 130,355 -s 50x50}${image $HOME/2_Wunderground/Forecast_Images/16.png -p 195,355 -s 50x50}${image $HOME/2_Wunderground/Forecast_Images/18.png -p 260,355 -s 50x50}${image $HOME/2_Wunderground/Forecast_Images/20.png -p 325,355 -s 50x50}$color${font Arial:size=5}




${font Arial:size=8}${execpi 600 sed -n '894p' $HOME/2_Wunderground/10days}°${goto 85}${execpi 600 sed -n '1090p' $HOME/2_Wunderground/10days}°${goto 150}${execpi 600 sed -n '1286p' $HOME/2_Wunderground/10days}°${goto 215}${execpi 600 sed -n '1482p' $HOME/2_Wunderground/10days}°${goto 280}${execpi 600 sed -n '1678p' $HOME/2_Wunderground/10days}°${goto 345}${execpi 600 sed -n '1874p' $HOME/2_Wunderground/10days}°
${voffset -10}${goto 45}${execpi 600 sed -n '992p' $HOME/2_Wunderground/10days}°${goto 110}${execpi 600 sed -n '1188p' $HOME/2_Wunderground/10days}°${goto 175}${execpi 600 sed -n '1384p' $HOME/2_Wunderground/10days}°${goto 240}${execpi 600 sed -n '1580p' $HOME/2_Wunderground/10days}°${goto 305}${execpi 600 sed -n '1776p' $HOME/2_Wunderground/10days}°${goto 370}${execpi 600 sed -n '1972p' $HOME/2_Wunderground/10days}°
${else}${color FDB72E}${font Arial:size=10}${execpi 600 sed -n '2p' $HOME/2_Wunderground/10days|tr a-z A-Z}${goto 210}${execpi 600 sed -n '100p' $HOME/2_Wunderground/10days|tr a-z A-Z}${image $HOME/2_Wunderground/Forecast_Images/1.png -p 0,350 -s 70x70}${image $HOME/2_Wunderground/Forecast_Images/2.png -p 190,350 -s 70x70}$color$font
${goto 100}${execpi 600 sed -n '12p' $HOME/2_Wunderground/10days}°${goto 290}- /${execpi 600 sed -n '110p' $HOME/2_Wunderground/10days}°
${font Arial:size=8}${goto 100}${execpi 600 sed -n '46p' $HOME/2_Wunderground/10days} ${execpi 600 sed -n '42p' $HOME/2_Wunderground/10days}km/h${goto 290}${execpi 600 sed -n '144p' $HOME/2_Wunderground/10days} ${execpi 600 sed -n '140p' $HOME/2_Wunderground/10days}km/h
${goto 100}${execpi 600 sed -n '26p' $HOME/2_Wunderground/10days}${goto 290}${execpi 600 sed -n '124p' $HOME/2_Wunderground/10days}
${hr 1}
${font Arial:size=8}${color FDB72E}${execpi 600 sed -n '200p' $HOME/2_Wunderground/10days|tr a-z A-Z}${goto 150}${execpi 600 sed -n '396p' $HOME/2_Wunderground/10days|tr a-z A-Z}${goto 280}${execpi 600 sed -n '592p' $HOME/2_Wunderground/10days|tr a-z A-Z}${image $HOME/2_Wunderground/Forecast_Images/3.png -p 0,460 -s 65x65}${image $HOME/2_Wunderground/Forecast_Images/5.png -p 130,460 -s 65x65}${image $HOME/2_Wunderground/Forecast_Images/7.png -p 255,460 -s 65x65}$color${font Arial:size=5}

${font Arial:size=8}${goto 100}${execpi 600 sed -n '208p' $HOME/2_Wunderground/10days}°${goto 230}${execpi 600 sed -n '404p' $HOME/2_Wunderground/10days}°${goto 355}${execpi 600 sed -n '600p' $HOME/2_Wunderground/10days}°
${goto 110}${execpi 600 sed -n '306p' $HOME/2_Wunderground/10days}°${goto 240}${execpi 600 sed -n '502p' $HOME/2_Wunderground/10days}°${goto 355}${execpi 600 sed -n '698p' $HOME/2_Wunderground/10days}°${font Arial:size=5}

${font Arial:size=8}${execpi 600 sed -n '222p' $HOME/2_Wunderground/10days}${goto 150}${execpi 600 sed -n '418p' $HOME/2_Wunderground/10days}${goto 280}${execpi 600 sed -n '614p' $HOME/2_Wunderground/10days}
${hr 1}
${color FDB72E}${goto 25}${execpi 600 sed -n '786p' $HOME/2_Wunderground/10days|tr a-z A-Z|cut -c1-3}${goto 90}${execpi 600 sed -n '982p' $HOME/2_Wunderground/10days|tr a-z A-Z|cut -c1-3}${goto 155}${execpi 600 sed -n '1178p' $HOME/2_Wunderground/10days|tr a-z A-Z|cut -c1-3}${goto 220}${execpi 600 sed -n '1374p' $HOME/2_Wunderground/10days|tr a-z A-Z|cut -c1-3}${goto 285}${execpi 600 sed -n '1570p' $HOME/2_Wunderground/10days|tr a-z A-Z|cut -c1-3}${goto 350}${execpi 600 sed -n '1766p' $HOME/2_Wunderground/10days|tr a-z A-Z|cut -c1-3}${image $HOME/2_Wunderground/Forecast_Images/9.png -p 0,355 -s 50x50}${image $HOME/2_Wunderground/Forecast_Images/11.png -p 65,355 -s 50x50}${image $HOME/2_Wunderground/Forecast_Images/13.png -p 130,355 -s 50x50}${image $HOME/2_Wunderground/Forecast_Images/15.png -p 195,355 -s 50x50}${image $HOME/2_Wunderground/Forecast_Images/17.png -p 260,355 -s 50x50}${image $HOME/2_Wunderground/Forecast_Images/19.png -p 325,355 -s 50x50}$color${font Arial:size=5}




${font Arial:size=8}${execpi 600 sed -n '796p' $HOME/2_Wunderground/10days}°${goto 85}${execpi 600 sed -n '992p' $HOME/2_Wunderground/10days}°${goto 150}${execpi 600 sed -n '1188p' $HOME/2_Wunderground/10days}°${goto 215}${execpi 600 sed -n '1384p' $HOME/2_Wunderground/10days}°${goto 280}${execpi 600 sed -n '1580p' $HOME/2_Wunderground/10days}°${goto 345}${execpi 600 sed -n '1776p' $HOME/2_Wunderground/10days}°
${voffset -10}${goto 45}${execpi 600 sed -n '894p' $HOME/2_Wunderground/10days}°${goto 110}${execpi 600 sed -n '1090p' $HOME/2_Wunderground/10days}°${goto 175}${execpi 600 sed -n '1286p' $HOME/2_Wunderground/10days}°${goto 240}${execpi 600 sed -n '1482p' $HOME/2_Wunderground/10days}°${goto 305}${execpi 600 sed -n '1678p' $HOME/2_Wunderground/10days}°${goto 370}${execpi 600 sed -n '1874p' $HOME/2_Wunderground/10days}°
${endif}]];

First test is a succes thank-you very much Teo
wundeground_2019-08-21_16-48-41.th.png
I'll post later with hourly forecast I got no more time to play
see you

Last edited by ragamatrix (2019-08-21 14:54:02)

Offline

#2525 2019-08-21 15:29:15

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

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

here with some weather in french

1566401372.png


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

#2526 2019-08-21 15:40:12

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's very interesting how everyone seems to get a "fat" conky whereas I get a narrower one.
I'm definitely convinced it's a DPI thing.
Anyway...


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

#2527 2019-08-21 18:15:46

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

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

wu4.th.png

I've given up for the moment.
In contrast to loutch, I arranged the icons without image.lua. But the formatting is not stable.
If someone wants to try it out...

conky.config = {
-- Create own window instead of using desktop (required in nautilus)
	own_window = true,
	own_window_type = 'normal', --override',
	own_window_transparent = true,
	own_window_hints = 'undecorated,below,skip_taskbar,skip_pager',
	own_window_class = 'Conky',
--own_window_title = 'Teo's WUN',
        own_window_argb_visual = true,
--own_window_argb_value = 200,

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

-- fiddle with window
	use_spacer = 'right',
	use_xft = true,

-- Update interval in seconds
	update_interval = 3,

-- Minimum size of text area
	minimum_width = 345, minimum_height = 0,
--maximum_width = 385,

	override_utf8_locale = true,

-- Draw shades?
	draw_shades = true,

-- Text stuff
	draw_outline = true,-- amplifies text if yes
	draw_borders = false,
--font freesans -12
	font = 'Arial:size=9',
	uppercase = false,-- set to yes if you want all text to be in uppercase

-- Stippled borders?
	stippled_borders = 3,

-- border margins
	border_inner_margin = 9,

-- border width
	border_width = 10,

-- Default colors and also border colors, grey90 == #e5e5e5
	default_color = '#77DDFF', --light blue
	color1 = '#FDB72E', --light orange
--color2 =

-- 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 = 30,
	gap_y = 30,

	imlib_cache_size = 0,
-- stuff after 'TEXT' will be formatted on screen

----Lua--#
--lua_load = '/home/unklar/LUA/draw-bg.lua',
--lua_draw_hook_pre = 'draw_bg 10 0 0 0 0 0x000000 0.55',

};

conky.text = [[
${color1}${font Arial:size=11}WEATHER ${hr 2}$color${texeci 500 bash $HOME/2_Wunderground/2_wun}
${image $HOME/2_Wunderground/Forecast_Images/current.png -p 0,10 -s 125x125}\
${image $HOME/2_Wunderground/Forecast_Images/Moon_phase.png -p 250,85 -s 25x25}\
${image $HOME/2_Wunderground/Forecast_Images/1.png -p 0,210 -s 50x50}\
${image $HOME/2_Wunderground/Forecast_Images/2.png -p 200,210 -s 50x50}\
${image $HOME/2_Wunderground/Forecast_Images/4.png -p 0,290 -s 45x45}\
${image $HOME/2_Wunderground/Forecast_Images/6.png -p 130,290 -s 45x45}\
${image $HOME/2_Wunderground/Forecast_Images/8.png -p 255,290 -s 45x45}\
${image $HOME/2_Wunderground/Forecast_Images/10.png -p 0,375 -s 30x30}\
${image $HOME/2_Wunderground/Forecast_Images/12.png -p 65,375 -s 30x30}\
${image $HOME/2_Wunderground/Forecast_Images/14.png -p 130,375 -s 30x30}\
${image $HOME/2_Wunderground/Forecast_Images/16.png -p 195,375 -s 30x30}\
${image $HOME/2_Wunderground/Forecast_Images/18.png -p 260,375 -s 30x30}\
${image $HOME/2_Wunderground/Forecast_Images/20.png -p 325,375 -s 30x30}\

${font Arial:size=11}${goto 180}${execpi 600 sed -n '88p' $HOME/2_Wunderground/curr_cond|cut -c1-20}
${goto 180}${execpi 600 sed -n '88p' $HOME/2_Wunderground/curr_cond|cut -c21-40}
${font Arial:size=20}${goto 180}${execpi 600 sed -n '52p' $HOME/2_Wunderground/curr_cond}° (${execpi 600 sed -n '58p' $HOME/2_Wunderground/curr_cond}°)${font}
${font Arial:size=8}${goto 180}${execpi 600 sed -n '1p' $HOME/2_Wunderground/moon_data}



${color1}WIND: $color${execpi 600 sed -n '82p' $HOME/2_Wunderground/curr_cond} ${execpi 600 sed -n '86p' $HOME/2_Wunderground/curr_cond}km/h${goto 200}${color1}PRESSURE: $color${alignr}${execpi 600 sed -n '30p' $HOME/2_Wunderground/curr_cond}hPa
${color1}VISIBIL.: $color${execpi 600 sed -n '78p' $HOME/2_Wunderground/curr_cond} km${goto 200}${color1}HUMIDITY: $color${alignr}${execpi 600 sed -n '36p' $HOME/2_Wunderground/curr_cond} %
${color1}UV INDEX: $color${execpi 600 sed -n '72p' $HOME/2_Wunderground/curr_cond}${goto 200}${color1}PRECIP. (6h): $color${alignr}${execpi 600 sed -n '22p' $HOME/2_Wunderground/curr_cond} mm
${color1}SUNRISE: $color${execpi 600 sed -n '44p' $HOME/2_Wunderground/curr_cond|cut -c1-5}${goto 200}${color1}MOONRISE: $color${alignr}${execpi 600 sed -n '2p' $HOME/2_Wunderground/moon_data|cut -c1-5}
${color1}SUNSET: $color${execpi 600 sed -n '48p' $HOME/2_Wunderground/curr_cond|cut -c1-5}${goto 200}${color1}MOONSET: $color${alignr}${execpi 600 sed -n '3p' $HOME/2_Wunderground/moon_data|cut -c1-5}
${color}${hr 1}
${if_match "${execpi 600 sed -n '2p' $HOME/2_Wunderground/10days}" == "Tonight"}${color1}${font Arial:size=10}${execpi 600 sed -n '2p' $HOME/2_Wunderground/10days|tr a-z A-Z}${goto 210}${execpi 600 sed -n '100p' $HOME/2_Wunderground/10days|tr a-z A-Z}
${goto 100}- /${execpi 600 sed -n '12p' $HOME/2_Wunderground/10days}°${goto 290}${execpi 600 sed -n '110p' $HOME/2_Wunderground/10days}°/${execpi 600 sed -n '208p' $HOME/2_Wunderground/10days}°
${font Arial:size=8}${goto 100}${execpi 600 sed -n '46p' $HOME/2_Wunderground/10days} ${execpi 600 sed -n '42p' $HOME/2_Wunderground/10days}km/h${goto 290}${execpi 600 sed -n '144p' $HOME/2_Wunderground/10days} ${execpi 600 sed -n '140p' $HOME/2_Wunderground/10days}km/h
${goto 100}${execpi 600 sed -n '26p' $HOME/2_Wunderground/10days}${goto 290}${execpi 600 sed -n '124p' $HOME/2_Wunderground/10days}${color}


${hr 1}
${font Arial:size=8}${color1}${execpi 600 sed -n '296p' $HOME/2_Wunderground/10days|tr a-z A-Z}${goto 150}${execpi 600 sed -n '492p' $HOME/2_Wunderground/10days|tr a-z A-Z}${goto 280}${execpi 600 sed -n '688p' $HOME/2_Wunderground/10days|tr a-z A-Z}$color${font Arial:size=5}

${font Arial:size=8}${goto 100}${execpi 600 sed -n '306p' $HOME/2_Wunderground/10days}°${goto 230}${execpi 600 sed -n '502p' $HOME/2_Wunderground/10days}°${goto 355}${execpi 600 sed -n '698p' $HOME/2_Wunderground/10days}°
${goto 110}${execpi 600 sed -n '404p' $HOME/2_Wunderground/10days}°${goto 240}${execpi 600 sed -n '600p' $HOME/2_Wunderground/10days}°${goto 365}${execpi 600 sed -n '796p' $HOME/2_Wunderground/10days}°${font Arial:size=5}


${font Arial:size=8}${execpi 600 sed -n '320p' $HOME/2_Wunderground/10days}${goto 150}${execpi 600 sed -n '516p' $HOME/2_Wunderground/10days}${goto 280}${execpi 600 sed -n '712p' $HOME/2_Wunderground/10days}

${hr 1}
${color1}${goto 25}${execpi 600 sed -n '884p' $HOME/2_Wunderground/10days|tr a-z A-Z|cut -c1-3}${goto 90}${execpi 600 sed -n '1080p' $HOME/2_Wunderground/10days|tr a-z A-Z|cut -c1-3}${goto 155}${execpi 600 sed -n '1276p' $HOME/2_Wunderground/10days|tr a-z A-Z|cut -c1-3}${goto 220}${execpi 600 sed -n '1472p' $HOME/2_Wunderground/10days|tr a-z A-Z|cut -c1-3}${goto 285}${execpi 600 sed -n '1668p' $HOME/2_Wunderground/10days|tr a-z A-Z|cut -c1-3}${goto 350}${execpi 600 sed -n '1864p' $HOME/2_Wunderground/10days|tr a-z A-Z|cut -c1-3}$color${font Arial:size=5}




${font Arial:size=8}${execpi 600 sed -n '894p' $HOME/2_Wunderground/10days}°${goto 85}${execpi 600 sed -n '1090p' $HOME/2_Wunderground/10days}°${goto 150}${execpi 600 sed -n '1286p' $HOME/2_Wunderground/10days}°${goto 215}${execpi 600 sed -n '1482p' $HOME/2_Wunderground/10days}°${goto 280}${execpi 600 sed -n '1678p' $HOME/2_Wunderground/10days}°${goto 345}${execpi 600 sed -n '1874p' $HOME/2_Wunderground/10days}°
${voffset -10}${goto 45}${execpi 600 sed -n '992p' $HOME/2_Wunderground/10days}°${goto 110}${execpi 600 sed -n '1188p' $HOME/2_Wunderground/10days}°${goto 175}${execpi 600 sed -n '1384p' $HOME/2_Wunderground/10days}°${goto 240}${execpi 600 sed -n '1580p' $HOME/2_Wunderground/10days}°${goto 305}${execpi 600 sed -n '1776p' $HOME/2_Wunderground/10days}°${goto 370}${execpi 600 sed -n '1972p' $HOME/2_Wunderground/10days}°
${else}${color1}${font Arial:size=10}${execpi 600 sed -n '2p' $HOME/2_Wunderground/10days|tr a-z A-Z}${goto 210}${execpi 600 sed -n '100p' $HOME/2_Wunderground/10days|tr a-z A-Z}${image $HOME/2_Wunderground/Forecast_Images/1.png -p 0,350 -s 50x50}${image $HOME/2_Wunderground/Forecast_Images/2.png -p 190,350 -s 50x50}$color$font
${goto 100}${execpi 600 sed -n '12p' $HOME/2_Wunderground/10days}°${goto 290}- /${execpi 600 sed -n '110p' $HOME/2_Wunderground/10days}°
${font Arial:size=8}${goto 100}${execpi 600 sed -n '46p' $HOME/2_Wunderground/10days} ${execpi 600 sed -n '42p' $HOME/2_Wunderground/10days}km/h${goto 290}${execpi 600 sed -n '144p' $HOME/2_Wunderground/10days} ${execpi 600 sed -n '140p' $HOME/2_Wunderground/10days}km/h
${goto 100}${execpi 600 sed -n '26p' $HOME/2_Wunderground/10days}${goto 290}${execpi 600 sed -n '124p' $HOME/2_Wunderground/10days}
${hr 1}
${font Arial:size=8}${color1}${execpi 600 sed -n '200p' $HOME/2_Wunderground/10days|tr a-z A-Z}${goto 150}${execpi 600 sed -n '396p' $HOME/2_Wunderground/10days|tr a-z A-Z}${goto 280}${execpi 600 sed -n '592p' $HOME/2_Wunderground/10days|tr a-z A-Z}${image $HOME/2_Wunderground/Forecast_Images/3.png -p 0,460 -s 45x45}${image $HOME/2_Wunderground/Forecast_Images/5.png -p 130,460 -s 45x45}${image $HOME/2_Wunderground/Forecast_Images/7.png -p 255,460 -s 45x45}$color${font Arial:size=5}

${font Arial:size=8}${goto 80}${execpi 600 sed -n '208p' $HOME/2_Wunderground/10days}°${goto 210}${execpi 600 sed -n '404p' $HOME/2_Wunderground/10days}°${goto 335}${execpi 600 sed -n '600p' $HOME/2_Wunderground/10days}°
${goto 90}${execpi 600 sed -n '306p' $HOME/2_Wunderground/10days}°${goto 220}${execpi 600 sed -n '502p' $HOME/2_Wunderground/10days}°${goto 345}${execpi 600 sed -n '698p' $HOME/2_Wunderground/10days}°${font Arial:size=5}

${font Arial:size=8}${execpi 600 sed -n '222p' $HOME/2_Wunderground/10days}${goto 150}${execpi 600 sed -n '418p' $HOME/2_Wunderground/10days}${goto 280}${execpi 600 sed -n '614p' $HOME/2_Wunderground/10days}
${hr 1}
${color1}${goto 25}${execpi 600 sed -n '786p' $HOME/2_Wunderground/10days|tr a-z A-Z|cut -c1-3}${goto 90}${execpi 600 sed -n '982p' $HOME/2_Wunderground/10days|tr a-z A-Z|cut -c1-3}${goto 155}${execpi 600 sed -n '1178p' $HOME/2_Wunderground/10days|tr a-z A-Z|cut -c1-3}${goto 220}${execpi 600 sed -n '1374p' $HOME/2_Wunderground/10days|tr a-z A-Z|cut -c1-3}${goto 285}${execpi 600 sed -n '1570p' $HOME/2_Wunderground/10days|tr a-z A-Z|cut -c1-3}${goto 350}${execpi 600 sed -n '1766p' $HOME/2_Wunderground/10days|tr a-z A-Z|cut -c1-3}${image $HOME/2_Wunderground/Forecast_Images/9.png -p 0,590 -s 30x30}${image $HOME/2_Wunderground/Forecast_Images/11.png -p 65,590 -s 30x30}${image $HOME/2_Wunderground/Forecast_Images/13.png -p 130,590 -s 30x30}${image $HOME/2_Wunderground/Forecast_Images/15.png -p 195,590 -s 30x30}${image $HOME/2_Wunderground/Forecast_Images/17.png -p 260,590 -s 30x30}${image $HOME/2_Wunderground/Forecast_Images/19.png -p 325,590 -s 30x30}$color${font Arial:size=5}




${font Arial:size=8}${execpi 600 sed -n '796p' $HOME/2_Wunderground/10days}°${goto 85}${execpi 600 sed -n '992p' $HOME/2_Wunderground/10days}°${goto 150}${execpi 600 sed -n '1188p' $HOME/2_Wunderground/10days}°${goto 215}${execpi 600 sed -n '1384p' $HOME/2_Wunderground/10days}°${goto 280}${execpi 600 sed -n '1580p' $HOME/2_Wunderground/10days}°${goto 345}${execpi 600 sed -n '1776p' $HOME/2_Wunderground/10days}°
${voffset -10}${goto 45}${execpi 600 sed -n '894p' $HOME/2_Wunderground/10days}°${goto 110}${execpi 600 sed -n '1090p' $HOME/2_Wunderground/10days}°${goto 175}${execpi 600 sed -n '1286p' $HOME/2_Wunderground/10days}°${goto 240}${execpi 600 sed -n '1482p' $HOME/2_Wunderground/10days}°${goto 305}${execpi 600 sed -n '1678p' $HOME/2_Wunderground/10days}°${goto 370}${execpi 600 sed -n '1874p' $HOME/2_Wunderground/10days}°
${endif}
]];
 

This is an attempt with draw_bg.lua (which makes the icons look like shit under conky1.11.3) - discarded.
wu3.th.png

Last edited by unklar (2019-08-21 18:18:38)

Offline

#2528 2019-08-22 05:28:37

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

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

@TBG, have you ever considered making this project a git repository, and hosting it on a platform that would allow easy code access, centralised technical discussions (issues) and contributions?

Before you shy away, a few points:

  • obviously, it doesn't cost anything

  • It doesn't have to be github. See my sig.

  • The first steps are easy; I still haven't barely scratched the surface of what git can do, and it's OK.

  • You remain in full control over your project and accept contributions only when you want.

It's so much easier for people using your stuff to keep up-to-date:

git clone https://somegitsite.come/TBG/conky-weather

to get it the first time, and then

git pull

to update it.
(and when you add a few things like user customization in separate files that are then ignored by git, it's perfect)

I'm sure everybody can see the advantages over using google drive...?

Last edited by ohnonot (2019-08-22 05:32:51)

Offline

#2529 2019-08-22 06:34:31

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

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

@Teo the "fat" icons come back even if I modified their placements in conky  neutral We will find the way  wink

Offline

#2530 2019-08-22 12:01:46

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

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

Hello

i have it work great day & night

1566475317.png

@+


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

#2531 2019-08-22 14:03:48

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

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

Hello loutch
could you please post your conkyrc, I tryed unklar's one but i got same upside down icons' problem...  8.(
:8

Offline

#2532 2019-08-22 14:34:45

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:

@TBG, have you ever considered making this project a git repository, and hosting it on a platform that would allow easy code access, centralised technical discussions (issues) and contributions?

Before you shy away, a few points:

  • obviously, it doesn't cost anything

  • It doesn't have to be github. See my sig.

  • The first steps are easy; I still haven't barely scratched the surface of what git can do, and it's OK.

  • You remain in full control over your project and accept contributions only when you want.

It's so much easier for people using your stuff to keep up-to-date:

git clone https://somegitsite.come/TBG/conky-weather

to get it the first time, and then

git pull

to update it.
(and when you add a few things like user customization in separate files that are then ignored by git, it's perfect)

I'm sure everybody can see the advantages over using google drive...?

I promised last year that I would look into git during the winter.
Well I didn't...

Did I promise to you? I can't remember right now, sorry if it was you.

I won't promise again cause I've been shown not to hold my promises, but I completely agree that it would make things a lot easier with updates. Perhaps this winter :8

Other than that, I think I'll ditch execpi in favor of texeci. The last couple of conky versions (1.11.4-1 and 1.11.5-1) have been buggy as hell and create lots of problems; conky is constantly freezing, I hope replacing execpi makes the situation better.

Last edited by TeoBigusGeekus (2019-08-22 14:49:46)


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

#2533 2019-08-22 15:50:20

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

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

Screenshot_20190822_172417.th.png

I'm still not really satisfied.
In the meantime I switched from archlinux (1.11.3) to siduction (1.10.8).

Again I had to make adjustments because the images / icons were moved. I resized them once more.
As Teo writes above, Syntax1.10 doesn't make it easy either. Maybe I have to rewrite it to 1.9 and test it. But, at the moment I don't have the time.

@Teo, thanks for your new script and the work you did. clapping.gif  I have to keep testing.
I just found out today that you have a total of 6 ${hr 1} lines in the original wu_conkyrc.  ?  That would explain why I was so confused yesterday.   big_smile

Offline

#2534 2019-08-22 16:04:57

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

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

Thanks for the feedback unklar, I appreciate it. See if you can make it narrower, lots of empty space on your conky.
Something's really wrong with the latest versions of conky, I hope they figure it out in the future, otherwise we have ourselves a problem.

EDIT: What's everybody's experience with execpi vs texeci?

Last edited by TeoBigusGeekus (2019-08-22 16:22:08)


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

#2535 2019-08-22 16:29:29

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

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

@ ragamatrix

no problem here

conky.config = {
	background = true,  --true si transparent
	use_xft = true,
	font = 'Liberation Sans:size=7',
	xftalpha = 1,
	update_interval = 1.0,
	total_run_times = 0,
	own_window = true,
	own_window_transparent = false,  
        own_window_argb_visual = true,
        own_window_argb_value = 100,     -- 0 transparent 255 plein
	own_window_type = 'normal',
	own_window_hints = 'undecorated,below,skip_taskbar,skip_pager',
	double_buffer = true,
	minimum_width = 400, minimum_height = 410,
        maximum_width = 400,
	text_buffer_size = 2048,
	draw_shades = false,
	draw_outline = false,
	draw_borders = false,
	draw_graph_borders = false,
	default_color = 'white',
	default_outline_color = 'white',
	alignment = 'top_right',
	gap_x = 00,
	gap_y = 00,
	no_buffers = true,
	uppercase = false,
	cpu_avg_samples = 2,
	override_utf8_locale = true,
        imlib_cache_flush_interval = 60,
	imlib_cache_size = 10000,
	stippled_borders = 5,
        default_shade_color = '#333333',
	default_outline_color = 'black',

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



color1 = 'F5B800',
color2 = '00f5ff',
color3 = '828200',
color4 = '323200',
color5 = 'fdb72e',
};

conky.text = [[
${color5}${font Arial:size=11}Sarreguemines ${color5}${hr 1}$color${texeci 3600 bash $HOME/2_Wunderground/2_wun}${font}
${lua fDrawImage $HOME/2_Wunderground/Forecast_Images/current.png 30 30 75 75}${font Arial:size=11}${goto 180}${execpi 600 sed -n '88p' $HOME/2_Wunderground/curr_cond|cut -c1-20}
${goto 180}${execpi 600 sed -n '88p' $HOME/2_Wunderground/curr_cond|cut -c21-40}
${font Arial:size=20}${goto 180}${execpi 600 sed -n '52p' $HOME/2_Wunderground/curr_cond}° (${execpi 600 sed -n '58p' $HOME/2_Wunderground/curr_cond}°)${font}
${font Arial:size=8}
${goto 180}${execpi 600 sed -n '1p' $HOME/2_Wunderground/lune}${lua fDrawImage $HOME/2_Wunderground/Forecast_Images/Moon_phase.png 310 75 40 40}
${color5}Vent: $color              ${goto 110}${execpi 600 sed -n '82p' $HOME/2_Wunderground/curr_cond} ${execpi 600 sed -n '86p' $HOME/2_Wunderground/curr_cond}km/h ${goto 200}${color5}Pression:               $color${alignr}${execpi 600 sed -n '30p' $HOME/2_Wunderground/curr_cond}hPa
${color5}Visibilité: $color        ${goto 110}${execpi 600 sed -n '78p' $HOME/2_Wunderground/curr_cond} km                                                            ${goto 200}${color5}Humidité:               $color${alignr}${execpi 600 sed -n '36p' $HOME/2_Wunderground/curr_cond} %
${color5}Index UV: $color          ${goto 110}${execpi 600 sed -n '72p' $HOME/2_Wunderground/curr_cond}                                                               ${goto 200}${color5}Précipitation. (6h):    $color${alignr}${execpi 600 sed -n '22p' $HOME/2_Wunderground/curr_cond} mm
${color5}Lever du soleil: $color   ${goto 110}${execpi 600 sed -n '44p' $HOME/2_Wunderground/curr_cond|cut -c1-5}                                                     ${goto 200}${color5}Lever de lune:          $color${alignr}${execpi 600 sed -n '2p' $HOME/2_Wunderground/moon_data|cut -c1-5}
${color5}Coucher du soleil: $color ${goto 110}${execpi 600 sed -n '48p' $HOME/2_Wunderground/curr_cond|cut -c1-5}                                                     ${goto 200}${color5}Coucher de lune:        $color${alignr}${execpi 600 sed -n '3p' $HOME/2_Wunderground/moon_data|cut -c1-5}
${color5}${hr 1}
${if_match "${execpi 600 sed -n '2p' $HOME/2_Wunderground/10days}" == "Ce soir"}${font Arial:size=10}${execpi 600 sed -n '2p' $HOME/2_Wunderground/10days|tr a-z A-Z}${goto 210}${execpi 600 sed -n '100p' $HOME/2_Wunderground/10days|tr a-z A-Z}${lua fDrawImage $HOME/2_Wunderground/Forecast_Images/1.png 10 206 40 40}${lua fDrawImage $HOME/2_Wunderground/Forecast_Images/2.png 220 206 40 40}$color$font

${goto 100} ${execpi 600 sed -n '12p' $HOME/2_Wunderground/10days}°${goto 290}${execpi 600 sed -n '110p' $HOME/2_Wunderground/10days}°/${execpi 600 sed -n '208p' $HOME/2_Wunderground/10days}°
${font Arial:size=8}${goto 100}${execpi 600 sed -n '46p' $HOME/2_Wunderground/10days} ${execpi 600 sed -n '42p' $HOME/2_Wunderground/10days}km/h${goto 290}${execpi 600 sed -n '144p' $HOME/2_Wunderground/10days} ${execpi 600 sed -n '140p' $HOME/2_Wunderground/10days}km/h
${goto 100}${execpi 600 sed -n '30p' $HOME/2_Wunderground/10days}${goto 290}${execpi 600 sed -n '128p' $HOME/2_Wunderground/10days}
${color5}${hr 1}
${font Arial:size=8}${color5}${execpi 600 sed -n '296p' $HOME/2_Wunderground/10days|tr a-z A-Z}${goto 150}${execpi 600 sed -n '492p' $HOME/2_Wunderground/10days|tr a-z A-Z}${goto 280}${execpi 600 sed -n '688p' $HOME/2_Wunderground/10days|tr a-z A-Z}${lua fDrawImage $HOME/2_Wunderground/Forecast_Images/4.png 10 280 40 40}${lua fDrawImage $HOME/2_Wunderground/Forecast_Images/6.png 150 280 40 40}${lua fDrawImage $HOME/2_Wunderground/Forecast_Images/8.png 280 280 40 40}$color${font Arial:size=5}

${font Arial:size=8}${goto 70}max ${execpi 600 sed -n '306p' $HOME/2_Wunderground/10days}° ${goto 200}max ${execpi 600 sed -n '502p' $HOME/2_Wunderground/10days}°${goto 330}max ${execpi 600 sed -n '698p' $HOME/2_Wunderground/10days}°
                    ${goto 70}min ${execpi 600 sed -n '404p' $HOME/2_Wunderground/10days}° ${goto 200}min ${execpi 600 sed -n '600p' $HOME/2_Wunderground/10days}°${goto 330}min ${execpi 600 sed -n '796p' $HOME/2_Wunderground/10days}°
                    ${goto 70}${execpi 600 sed -n '324p' $HOME/2_Wunderground/10days}      ${goto 200}${execpi 600 sed -n '520p' $HOME/2_Wunderground/10days}     ${goto 330}${execpi 600 sed -n '716p' $HOME/2_Wunderground/10days}
${font Arial:size=8}${execpi 600 sed -n '320p' $HOME/2_Wunderground/10days}${goto 150}${execpi 600 sed -n '516p' $HOME/2_Wunderground/10days}${goto 280}${execpi 600 sed -n '712p' $HOME/2_Wunderground/10days}
${color5}${hr 1}
${goto 25}${execpi 600 sed -n '884p' $HOME/2_Wunderground/10days|tr a-z A-Z|cut -c1-3}${goto 90}${execpi 600 sed -n '1080p' $HOME/2_Wunderground/10days|tr a-z A-Z|cut -c1-3}${goto 160}${execpi 600 sed -n '1276p' $HOME/2_Wunderground/10days|tr a-z A-Z|cut -c1-3}${goto 230}${execpi 600 sed -n '1472p' $HOME/2_Wunderground/10days|tr a-z A-Z|cut -c1-3}${goto 300}${execpi 600 sed -n '1668p' $HOME/2_Wunderground/10days|tr a-z A-Z|cut -c1-3}${goto 370}${execpi 600 sed -n '1864p' $HOME/2_Wunderground/10days|tr a-z A-Z|cut -c1-3}\
${lua fDrawImage $HOME/2_Wunderground/Forecast_Images/10.png  20 365 30 30}\
${lua fDrawImage $HOME/2_Wunderground/Forecast_Images/12.png  90 365 30 30}\
${lua fDrawImage $HOME/2_Wunderground/Forecast_Images/14.png 160 365 30 30}\
${lua fDrawImage $HOME/2_Wunderground/Forecast_Images/16.png 230 365 30 30}\
${lua fDrawImage $HOME/2_Wunderground/Forecast_Images/18.png 300 365 30 30}\
${lua fDrawImage $HOME/2_Wunderground/Forecast_Images/20.png 370 365 30 30}$color
${font Arial:size=8}${execpi 600 sed -n '894p' $HOME/2_Wunderground/10days}°                   ${goto 70}${execpi 600 sed -n '1090p' $HOME/2_Wunderground/10days}°                    ${goto 140}${execpi 600 sed -n '1286p' $HOME/2_Wunderground/10days}°                    ${goto 210}${execpi 600 sed -n '1482p' $HOME/2_Wunderground/10days}°                    ${goto 280}${execpi 600 sed -n '1678p' $HOME/2_Wunderground/10days}°                    ${goto 350}${execpi 600 sed -n '1874p' $HOME/2_Wunderground/10days}°

${voffset 10}${goto 40}${execpi 600 sed -n '992p' $HOME/2_Wunderground/10days}°                ${goto 110}${execpi 600 sed -n '1188p' $HOME/2_Wunderground/10days}°                  ${goto 180}${execpi 600 sed -n '1384p' $HOME/2_Wunderground/10days}°                     ${goto 250}${execpi 600 sed -n '1580p' $HOME/2_Wunderground/10days}°                    ${goto 320}${execpi 600 sed -n '1776p' $HOME/2_Wunderground/10days}°                    ${goto 390}${execpi 600 sed -n '1972p' $HOME/2_Wunderground/10days}°
${else}${color5}${font Arial:size=10}${execpi 600 sed -n '2p' $HOME/2_Wunderground/10days|tr a-z A-Z}${goto 210}${execpi 600 sed -n '100p' $HOME/2_Wunderground/10days|tr a-z A-Z}${lua fDrawImage $HOME/2_Wunderground/Forecast_Images/1.png 10 206 40 40}${lua fDrawImage $HOME/2_Wunderground/Forecast_Images/2.png 220 206 40 40}$color$font
${goto 100}${execpi 600 sed -n '12p' $HOME/2_Wunderground/10days}°${goto 290}${execpi 600 sed -n '110p' $HOME/2_Wunderground/10days}°
${font Arial:size=8}${goto 100}${execpi 600 sed -n '46p' $HOME/2_Wunderground/10days} ${execpi 600 sed -n '42p' $HOME/2_Wunderground/10days}km/h${goto 290}${execpi 600 sed -n '144p' $HOME/2_Wunderground/10days} ${execpi 600 sed -n '140p' $HOME/2_Wunderground/10days}km/h
${goto 100}${execpi 600 sed -n '30p' $HOME/2_Wunderground/10days}${goto 290}${execpi 600 sed -n '128p' $HOME/2_Wunderground/10days}
${color5}${hr 1}
${font Arial:size=7}${color5}${execpi 600 sed -n '200p' $HOME/2_Wunderground/10days|tr a-z A-Z}${goto 150}${execpi 600 sed -n '396p' $HOME/2_Wunderground/10days|tr a-z A-Z}${goto 280}${execpi 600 sed -n '592p' $HOME/2_Wunderground/10days|tr a-z A-Z}${lua fDrawImage $HOME/2_Wunderground/Forecast_Images/3.png 10 280 40 40}${lua fDrawImage $HOME/2_Wunderground/Forecast_Images/5.png 150 280 40 40}${lua fDrawImage $HOME/2_Wunderground/Forecast_Images/7.png 280 280 40 40}$color${font Arial:size=5}

${font Arial:size=8}${goto 70}max ${execpi 600 sed -n '208p' $HOME/2_Wunderground/10days}° ${goto 200}max ${execpi 600 sed -n '404p' $HOME/2_Wunderground/10days}°  ${goto 330}max ${execpi 600 sed -n '600p' $HOME/2_Wunderground/10days}°
                    ${goto 70}min ${execpi 600 sed -n '306p' $HOME/2_Wunderground/10days}° ${goto 200}min ${execpi 600 sed -n '502p' $HOME/2_Wunderground/10days}°  ${goto 330}min ${execpi 600 sed -n '698p' $HOME/2_Wunderground/10days}°
                    ${goto 70}${execpi 600 sed -n '324p' $HOME/2_Wunderground/10days}      ${goto 200}${execpi 600 sed -n '520p' $HOME/2_Wunderground/10days}       ${goto 330}${execpi 600 sed -n '716p' $HOME/2_Wunderground/10days}
${font Arial:size=8}${execpi 600 sed -n '222p' $HOME/2_Wunderground/10days}${goto 150}${execpi 600 sed -n '418p' $HOME/2_Wunderground/10days}${goto 280}${execpi 600 sed -n '614p' $HOME/2_Wunderground/10days}
${color5}${hr 1}
${goto 25}${execpi 600 sed -n '786p' $HOME/2_Wunderground/10days|tr a-z A-Z|cut -c1-3}${goto 90}${execpi 600 sed -n '982p' $HOME/2_Wunderground/10days|tr a-z A-Z|cut -c1-3}${goto 160}${execpi 600 sed -n '1178p' $HOME/2_Wunderground/10days|tr a-z A-Z|cut -c1-3}${goto 230}${execpi 600 sed -n '1374p' $HOME/2_Wunderground/10days|tr a-z A-Z|cut -c1-3}${goto 300}${execpi 600 sed -n '1570p' $HOME/2_Wunderground/10days|tr a-z A-Z|cut -c1-3}${goto 370}${execpi 600 sed -n '1766p' $HOME/2_Wunderground/10days|tr a-z A-Z|cut -c1-3}\ 
${lua fDrawImage $HOME/2_Wunderground/Forecast_Images/9.png   20 365 30 30}\ 
${lua fDrawImage $HOME/2_Wunderground/Forecast_Images/11.png  90 365 30 30}\
${lua fDrawImage $HOME/2_Wunderground/Forecast_Images/13.png 160 365 30 30}\
${lua fDrawImage $HOME/2_Wunderground/Forecast_Images/15.png 230 365 30 30}\
${lua fDrawImage $HOME/2_Wunderground/Forecast_Images/17.png 300 365 30 30}\
${lua fDrawImage $HOME/2_Wunderground/Forecast_Images/19.png 370 365 30 30}$color${voffset -20}
${font Arial:size=8}${execpi 600 sed -n '796p' $HOME/2_Wunderground/10days}°                    ${goto 70}${execpi 600 sed -n '992p' $HOME/2_Wunderground/10days}°                    ${goto 140}${execpi 600 sed -n '1188p' $HOME/2_Wunderground/10days}°                    ${goto 210}${execpi 600 sed -n '1384p' $HOME/2_Wunderground/10days}°                   ${goto 280}${execpi 600 sed -n '1580p' $HOME/2_Wunderground/10days}°                     ${goto 350}${execpi 600 sed -n '1776p' $HOME/2_Wunderground/10days}°

${voffset 10}${goto 40}${execpi 600 sed -n '894p' $HOME/2_Wunderground/10days}°                 ${goto 110}${execpi 600 sed -n '1090p' $HOME/2_Wunderground/10days}°                  ${goto 180}${execpi 600 sed -n '1286p' $HOME/2_Wunderground/10days}°                    ${goto 250}${execpi 600 sed -n '1482p' $HOME/2_Wunderground/10days}°                   ${goto 320}${execpi 600 sed -n '1678p' $HOME/2_Wunderground/10days}°                     ${goto 390}${execpi 600 sed -n '1874p' $HOME/2_Wunderground/10days}°
${endif}
${voffset -100}
]];

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

#2536 2019-08-22 17:08:58

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

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

Thanks a lot loutch, for me it works well with image.lua the icons are more stable and displayed correctly, may be a composite rgb effect problem with the transparency... (not sure)

Offline

#2537 2019-08-22 18:54:16

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

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

Teo, the riddle is solved.  big_smile

After I noticed the 6 {hr 1} lines, I can tell you, the lines 113 to 130 are too much (double) in the configuration file wu_conkyrc.   ]:D

2019-08-22_20-27.th.png


This is my favorite brand.   lol   lol
oldPulteney12_17_21.th.jpg

Offline

#2538 2019-08-22 18:58:45

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

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

Old Pulteney?
Are you kidding me?
I love this stuff!!!
Probably my favorite malt too!!!

Glad you've managed to sort it out. Wait for a 3rd relase candidate, perhaps today.


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

#2539 2019-08-22 21:02:35

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

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

@ unklar - NICE!  I don't drinlk anymore - but I'd take a 'sip' with you.

WARNING:  Conky v1.9

OK ... This is it under construction or  modification if you will:
2019-08-22_172741_Scrot11.th.jpg

and what it looks like now:
2019-08-22_175002_Scrot11.th.jpg

As you can see Teo's Minions are crowding around to see what happens after the ${else} command takes over.

Will keep you posted. I have changed the remaining "red+x.png" after the ${else} command to "yellow+x.png" so I will see it.

Code coming when fully tested.

THANK YOU TEO!  {clink}Teo, {clink}unklar {sip}  ]:D
shhhhh don't tell wife ... twas just a dribble anyway.


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#2540 2019-08-23 07:36:16

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

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

Hello

Theo i think i have a mistake

here screen from conky at auto-login this morning

1566545705.png

& here view seconds when i started it manualy

1566545796.png


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