You are not logged in.
Such is the way of Teo!
Thank you Teo, you rock!
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
![]()
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
I will have to look at this tomorrow ...
Even my "now file" is OOPS!
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
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)
Offline
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
Online
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 ![]()
Linuxmint 22.1 Xia xfce & mageia 9 XFCE on ssd hp pavilion g7
Xubuntu 18.04 lts & 24.04 lts on ASUS Rog STRIX
Online
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
Please read before requesting help: "Guide to getting help", "Introduction to the Bunsenlabs Lithium Desktop" and other help topics under "Help & Resources" on the BunsenLabs menu
Offline
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
I'm waiting for WUnderground or Moongiant now, it's their turn.
Don't meet trouble halfway...
Congratulations to you, it works again. Thanks a lot, Teo.
For those of you who are not comfortable with the configuration,
here is mine. Mistakes may be kept. ![]()
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
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
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.
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
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
Hello Unklar
Könnte ich das haben
${texeci 500 sed -n '1p' $HOME/Weather_com_conky_script/aktualisiert}
Danke
Linuxmint 22.1 Xia xfce & mageia 9 XFCE on ssd hp pavilion g7
Xubuntu 18.04 lts & 24.04 lts on ASUS Rog STRIX
Online
^Bonjour @loutch, mon bon ami,
cela est fait pour moi par la ligne supplémentaire suivante dans le script :
date +%T > $HOME/Weather_com_conky_script/aktualisiertpar 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? 8)
....
${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}
...I must stress this once again:
it is absolutely awesome to upload images from your BL-Desktop to imgur! Big thanks to @damo ![]()
Last edited by unklar (2020-07-24 07:41:26)
Offline
Hello
@ unklar
Danke ![]()
Linuxmint 22.1 Xia xfce & mageia 9 XFCE on ssd hp pavilion g7
Xubuntu 18.04 lts & 24.04 lts on ASUS Rog STRIX
Online
@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)
Offline
Offline
^^Thanks @ceeslans for taking the trouble.
BINGO! you found it.
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...
![]()
Last edited by unklar (2020-07-24 18:04:53)
Offline
heheh, being dutch, I do speak and understand the german language reasonably well... ![]()
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.
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)
Offline