You are not logged in.

#3651 2020-07-31 20:33:06

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

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

Thanks S11, just having fun with friends and battling boredom.


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

#3652 2020-07-31 21:34:35

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

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

lol lol lol lol and lately with these weather sites it's been anything but bored.


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

Offline

#3653 2020-08-01 18:21:15

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

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

2020-08-01_152619_S11.th.jpg

This COVID-19 life style has slowed things down BUT saying that:

TEO - I am sharpening my ConkyPencil and starting to work on a horizontal weather.com conky the S11 way ... bruit force!

2020-08-01_150924_S11.th.jpg

Won't be today what with household duties, KP (kitchen patrol) and such BUT it is a work in progress.

Changed my accuweather bar to the 2015 icons.  These old eyes see them better.


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

Offline

#3654 2020-08-02 07:28:02

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

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

It looks nice already S11.
You now you can use any icons you want, right?
Just replace them in the Forecast_Images_2015 (or 2016) folder making sure their numbers correspond to the numbers you're replacing and you're good to go.


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

#3655 2020-08-02 12:10:19

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

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

The "two" accuweather conkys, 2015 & 2016, have been here all along.
Developed together, tweaked and updated together as time passed.

The line that gets accuweather automatically gets both sets of images.

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

and it resides in my ~/.conkyrc.

So it is just a matter of turning one conky off and the other on in my 'S11_Current.sh', the last command in my OB 'autostart' file:

#!/bin/bash
#### /media/5/Conky/OBMenuS/S11_Current.sh
# Refined thanks to johnraff - 2020-04-23

killall conky

# on desktop 7 = wmctrl -s 6
###############################
#	wmctrl -s 6 &
#	conky -c /media/5/Conky/t7test.conky &
#	conky -c ~/.conkyrc &
#	sleep 3

# on desktop 6 = wmctrl -s 5
###############################
#	wmctrl -s 5 &
#	conky -c /media/5/Conky/t6test.conky &
#	conky -c /media/5/Conky/Weather_com_conky_script/wetter_com-1.9.conky &
#	sleep 1

# on desktop 5 = wmctrl -s 4
###############################
#	wmctrl -s 4 &
#	conky -c /media/5/Conky/t5test.conky &
#	sleep 1


# on desktop 4 = wmctrl -s 3
###############################
wmctrl -s 3 &
#	conky -c /media/5/Conky/t4test.conky &
conky -c ~/.conkyrc &
sleep 3
conky -c /media/5/Conky/Weather_com_conky_script/wetter_com-1.9.conky &
sleep 1

# on desktop 3 = wmctrl -s 2
###############################
#	wmctrl -s 2 &
#	conky -c /media/5/Conky/t3test.conky &
#	conky -c /media/5/Conky/Weather_com_conky_script/wetter_com-1.9.conky &
#	sleep 1


# on desktop 2 = wmctrl -s 1
###############################
wmctrl -s 1 &
#	conky -c /media/5/Conky/t2test.conky &
conky -c /media/5/Conky/S11_Rem_Cal.conky &
conky -c /media/5/Conky/S11_Dates.conky &
sleep 1


# on desktop 1 = wmctrl -s 0
###############################
wmctrl -s 0 &
#	conky -c /media/5/Conky/t1test.conky &
conky -c /media/5/Conky/S11_Rem_Today.conky &
conky -c /media/5/Conky/time.conky &
conky -c /media/5/Conky/S11_thin_r2_side.conky &
conky -c /media/5/Conky/S11_thin_l2_side.conky &
#	conky -c /media/5/Conky/S11_DateTime_br.conky &
conky -c /media/5/Conky/S11_MD_Cal-br.conky &
conky -c /media/5/Conky/S11_Email_0.conky &
#	conky -c /media/5/Conky/S11_Email_1.conky &

conky -c /media/5/Conky/Accuweather_conky_script/S11_accu_tm_BAR_2015-full.conky &
#	conky -c /media/5/Conky/Accuweather_conky_script/S11_accu_tm_BAR_2016-full.conky &
## work in progress ##
#	conky -c /media/5/Conky/Weather_com_conky_script/wetter-horiz.conky" &
conky -c /media/5/Conky/Accuweather_conky_script/S11_accu_UVI.conky &

# on all desktops
##########################
conky -c /media/5/Conky/Eagle.conky
#	conky -c /media/5/Conky/FT_Sun_Moon.conky
#	sleep 0

exit

And while not a weather conky I tweaked ~/.conkyrc yesterday as well.


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

Offline

#3656 2020-08-04 16:59:44

manuel-909
Member
Registered: 2017-10-09
Posts: 93

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

2020-08-04-12-56-28-scrot.png
teo i don't now if weather.com is down or they start messing with the script.....

Offline

#3657 2020-08-04 17:20:49

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

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

YUP ... mine messed up too.

sad   mad


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

Offline

#3658 2020-08-04 17:24:06

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

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

hello guys

Mine too


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

Offline

#3659 2020-08-04 20:08:19

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

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

^Again a full-time job for Teo...   hmm

Offline

#3660 2020-08-04 21:06:35

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

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

Oh for God's sake...


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

#3661 2020-08-07 22:57:35

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

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

New script:

#!/usr/bin/env bash


#########################################################################################
# Put the command that launches the conky configuration file that uses this script here #
#########################################################################################
weather_conky_launch_command="conky -b"


#########################################################################################################
# Put your language's interpretation of today, tenday and hourly - as shown in weather.com's url - here #
# Example for German:														   	   				                                     	    #
#     today=heute																						                                            #
#     tenday=10tage																						                                          #
#     hourly=stundlich                                                                                  #	
# Example for French:																					                                          #
#     today=aujour																						                                          #
#     tenday=10jours																					                                          #
#     hourly=parheure																					                                          #
# etc., you get the idea																				                                        #
# Replace your language's abbreviations for the wind directions as well                                 #
# At last, change Night to whatever it is in your language: Nacht, Nuit, Νύχτα, etc.                    #
#########################################################################################################
today=today
tenday=tenday
hourly=hourbyhour
north=N
south=S
west=W
east=E
night=Night


###############################################################################################################################
# Put your Weather.com address here, add en-IE between weather.com and weather for metric. You can use any language you want. #
###############################################################################################################################
#address="https://weather.com/weather/today/l/USHI0026:1:US"
address="https://weather.com/en-IE/weather/today/l/44114afd18d51b90206ceecf0e548aa87fe4ccfa9e6e746022ac3bd079d429c5"
#address="https://weather.com/en-IE/weather/today/l/ARBA0009:1:AR"
#address="https://weather.com/de-LI/wetter/heute/l/6f62e1be6a5f0d36914ae9eab7c3aedbbec5b5c6e0946c3fe6069a94435fc196"
#address="https://weather.com/el-GR/weather/today/l/44114afd18d51b90206ceecf0e548aa87fe4ccfa9e6e746022ac3bd079d429c5"
#address="https://weather.com/de-DE/wetter/heute/l/44114afd18d51b90206ceecf0e548aa87fe4ccfa9e6e746022ac3bd079d429c5"
#address="https://weather.com/fr-FR/temps/aujour/l/0121bf9710ae35daa414ce903453d12358ddc10bee696b17d1f973fafc5260c4"


##########################
# Function: colorize_svg #
##########################
colorize_svg () {
    sed -i -e 's/var(--color-moon)/#e3e3e3/g' -e 's/var(--color-star)/#e3e3e3/g' -e 's/var(--color-cloud)/#d3d3d3/g' -e 's/var(--color-na)/#d3d3d3/g' -e 's/var(--color-fog)/#d3d3d3/g' -e 's/var(--color-hail)/#d3d3d3/g' -e 's/var(--color-tornado)/#d3d3d3/g' -e 's/var(--color-wind)/#d3d3d3/g' -e 's/var(--color-storm)/#d3d3d3/g' -e 's/var(--color-lightning)/#ebdb00/g' -e 's/var(--color-sun)/#ebdb00/g' -e 's/var(--color-drop)/#6adef8/g' -e 's/var(--color-snowflake)/#d3d3d3/g' -e 's/var(--color-thunderstorm-mask)/#2b2b2b/g' $1
}


############################
# Function: wind_direction #
############################
wind_direction() {
  if (( $1 >= 350 && $1 <= 10 )); then
    echo $north
  elif (( $1 > 10 && $1 < 80 )); then
    echo $north$east
  elif (( $1 >= 80 && $1 <= 100 )); then
    echo $east
  elif (( $1 > 100 && $1 < 170 )); then
    echo $south$east
  elif (( $1 >= 170 && $1 <= 190 )); then  
    echo $south
  elif (( $1 > 190 && $1 < 260 )); then
    echo $south$west
  elif (( $1 >= 260 && $1 <= 280 )); then  
    echo $west
  elif (( $1 > 280 && $1 < 350 )); then
    echo $north$west    
  fi
}


#######################
# Pause weather conky #
#######################
pkill -STOP -xf "$weather_conky_launch_command"


#######
# Now #
#######
curl \
  -H 'authority: weather.com' \
  -H 'cache-control: max-age=0' \
  -H 'upgrade-insecure-requests: 1' \
  -H 'user-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.142 Safari/537.36' \
  -H 'accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9' \
  -H 'sec-fetch-site: none' \
  -H 'sec-fetch-mode: navigate' \
  -H 'sec-fetch-user: ?1' \
  -H 'sec-fetch-dest: document' \
  -H 'accept-language: en-US,en;q=0.9' \
  -H 'cookie: logatimLevel=INFO; akacd_NxtGen-DHLS=2177452799~rv=98~id=614d27d4c75f75df7bad5550f54e64b1; speedpin=4G; ci=TWC-Locale-Group=US&X-Origin-Hint=Prod-IBM-LS&TWC-GeoIP-Country=DE&TWC-Privacy=gdpr' \
  --compressed -o $HOME/Weather_com_conky_script/now_raw "$address"
sed '/CurrentConditions--tempValue--MHmYY">\|set="current-conditions" name="moonphase"/!d' $HOME/Weather_com_conky_script/now_raw > $HOME/Weather_com_conky_script/now
tr -d '\n' < $HOME/Weather_com_conky_script/now > $HOME/Weather_com_conky_script/now_temp
mv $HOME/Weather_com_conky_script/now_temp $HOME/Weather_com_conky_script/now
sed -i 's/\u002F//g' $HOME/Weather_com_conky_script/now
sed -i 's/<\/span>/\n/g' $HOME/Weather_com_conky_script/now
sed -i '/"precipPhrase"/d' $HOME/Weather_com_conky_script/now
sed -i '/CurrentConditions--tempValue--MHmYY">\|CurrentConditions--phraseValue--mZC_p">\|TemperatureValue">\|feelsLikeTempValue--2icPt">\|name="sunset-line" \|name="wind"\|name="humidity"\|name="dewpoint"\|name="dewpoint"\|name="pressure"\|name="uv"\|name="visibility"\|name="moonphase"/!d' $HOME/Weather_com_conky_script/now
sed -i -e '1s/^.*CurrentConditions--tempValue--MHmYY">//' -e 's/^.*phraseValue--mZC_p">//g' -e 's/"TemperatureValue">/\n/g' -e 's/^.*precipValue--2aJSf"><span>//' -e 's/^.*feelsLikeTempValue--2icPt">//' -e 's/SunriseSunset--dateValue--3H780">/\n/g' -e '/SegmentHighTemp/d' $HOME/Weather_com_conky_script/now
sed -i -e '/SunriseSunsetContainer/d' -e '/\/<span data-testid=/d' -e 's/<\/p><\/div>.*$//g' -e 's/^.*"PercentageValue">//g' -e 's/^.*"UVIndexValue">//g' -e 's/^.*"VisibilityValue">//g' -e '/name="dewpoint"/d' -e 's/<\/div><\/div><div class="_-_-components-src-organism.*$//g' -e 's/^.*transform:rotate(//g' -e 's/deg)" set/deg\n/g' $HOME/Weather_com_conky_script/now
sed -i -e 's/^.*<\/path><\/svg>//g' -e 's/^.*wxData--kK35q">//g' -e 's/<\/div>.*$//g' -e 's/deg//g' -e '13s/%//' -e 's/°//g' -e '16s/Unlimited/Unlim\./' $HOME/Weather_com_conky_script/now
sed -i 's/^.*>//g' $HOME/Weather_com_conky_script/now
w_degrees=$(sed -n 10p $HOME/Weather_com_conky_script/now)
w_direction=$(wind_direction $w_degrees)
sed -i 10s/^.*$/$w_direction/ $HOME/Weather_com_conky_script/now
#Tidy up now file
sed -n 1,2p $HOME/Weather_com_conky_script/now > $HOME/Weather_com_conky_script/now_temp
sed -n 5p $HOME/Weather_com_conky_script/now >> $HOME/Weather_com_conky_script/now_temp
sed -n 3,4p $HOME/Weather_com_conky_script/now >> $HOME/Weather_com_conky_script/now_temp
sed -n 15p $HOME/Weather_com_conky_script/now >> $HOME/Weather_com_conky_script/now_temp
sed -n 10p $HOME/Weather_com_conky_script/now >> $HOME/Weather_com_conky_script/now_temp
wind_speed=$(sed -n 11p $HOME/Weather_com_conky_script/now)
sed -i "7s|$| $wind_speed|" $HOME/Weather_com_conky_script/now_temp
sed -n 12p $HOME/Weather_com_conky_script/now >> $HOME/Weather_com_conky_script/now_temp
sed -n 13p $HOME/Weather_com_conky_script/now >> $HOME/Weather_com_conky_script/now_temp
sed -n 14p $HOME/Weather_com_conky_script/now >> $HOME/Weather_com_conky_script/now_temp
sed -n 16p $HOME/Weather_com_conky_script/now >> $HOME/Weather_com_conky_script/now_temp
echo "sunrise" >> $HOME/Weather_com_conky_script/now_temp
sed -n 6p $HOME/Weather_com_conky_script/now >> $HOME/Weather_com_conky_script/now_temp
echo "sunset" >> $HOME/Weather_com_conky_script/now_temp
sed -n 7p $HOME/Weather_com_conky_script/now >> $HOME/Weather_com_conky_script/now_temp
echo "moonphrase" >> $HOME/Weather_com_conky_script/now_temp
sed -n 17p $HOME/Weather_com_conky_script/now >> $HOME/Weather_com_conky_script/now_temp
mv $HOME/Weather_com_conky_script/now_temp $HOME/Weather_com_conky_script/now

sed '/<svg>/!d' $HOME/Weather_com_conky_script/now_raw > $HOME/Weather_com_conky_script/svg_classes
sed -i -e 's/^.*<svg>//' -e 's/<\/svg>.*$/<\/svg>/' $HOME/Weather_com_conky_script/svg_classes
sed '/<svg set="weather/!d' $HOME/Weather_com_conky_script/now_raw > $HOME/Weather_com_conky_script/Forecast_Images/now.svg
sed -i 's/<svg/\n<svg/g' $HOME/Weather_com_conky_script/Forecast_Images/now.svg
sed -i -e '/<svg set="weather/!d' -e 's/<\/svg>.*$//g' $HOME/Weather_com_conky_script/Forecast_Images/now.svg
sed -i -e '2,$d' -e 's/^.*viewBox/<svg xmlns:xlink="http:\/\/www.w3.org\/1999\/xlink" viewBox/' $HOME/Weather_com_conky_script/Forecast_Images/now.svg
cat $HOME/Weather_com_conky_script/svg_classes >> $HOME/Weather_com_conky_script/Forecast_Images/now.svg
colorize_svg $HOME/Weather_com_conky_script/Forecast_Images/now.svg


###########
# 10 Days #
###########
address10=$(echo $address|sed s/$today/$tenday/)
curl \
  -H 'authority: weather.com' \
  -H 'cache-control: max-age=0' \
  -H 'upgrade-insecure-requests: 1' \
  -H 'user-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.142 Safari/537.36' \
  -H 'accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9' \
  -H 'sec-fetch-site: none' \
  -H 'sec-fetch-mode: navigate' \
  -H 'sec-fetch-user: ?1' \
  -H 'sec-fetch-dest: document' \
  -H 'accept-language: en-US,en;q=0.9' \
  -H 'cookie: logatimLevel=INFO; akacd_NxtGen-DHLS=2177452799~rv=98~id=614d27d4c75f75df7bad5550f54e64b1; speedpin=4G; ci=TWC-Locale-Group=US&X-Origin-Hint=Prod-IBM-LS&TWC-GeoIP-Country=DE&TWC-Privacy=gdpr' \
  --compressed -o $HOME/Weather_com_conky_script/10days_raw "$address10"
sed '/DetailsSummary--daypartName--kbngc"/!d' $HOME/Weather_com_conky_script/10days_raw > $HOME/Weather_com_conky_script/10days
sed -i -e 's/DetailsSummary--daypartName--kbngc">/\n/g' -e 's/DailyContent--daypartDate--3VGlz">/\n/g' -e 's/DailyContent--temp--1s3a7">/\n/g' -e 's/"weatherIcon" class="_-_-components-src-molecule-DaypartDetails-DailyContent-DailyContent--Condition--1zRBJ">/\n/g' -e 's/highTempValue--3PjlX">/\n/g' -e 's/lowTempValue--2tesQ">/\n/g' -e 's/DetailsSummary--condition--2JmHb">/\n/g' -e 's/<span class="_-_-components-src-molecule-DaypartDetails-DetailsSummary-DetailsSummary--extendedData--307Ax">/\n/g' -e 's/"PercentageValue">/\n/g' -e 's/windWrapper--3Ly7c undefined">/\n/g' $HOME/Weather_com_conky_script/10days
sed -i -e 's/"PercentageValue" class="_-_-components-src-molecule-DaypartDetails-DailyContent-DailyContent--value--1Jers">/\n/g' -e 's/windWrapper--3Ly7c _-_-components-src-molecule-DaypartDetails-DailyContent-DailyContent--value--1Jers">/\n/g' -e 's/DailyContent-DailyContent--narrative--3Ti6_">/\n/g' -e 's/"PercentageValue" class="_-_-components-src-molecule-DaypartDetails-DetailsTable-DetailsTable--value--2YD0-">/\n/g' -e 's/"UVIndexValue" class="_-_-components-src-molecule-DaypartDetails-DetailsTable-DetailsTable--value--2YD0-">/\n/g' -e 's/"SunriseTime" class="_-_-components-src-molecule-DaypartDetails-DetailsTable-DetailsTable--value--2YD0-">/\n/g' -e 's/"SunsetTime" class="_-_-components-src-molecule-DaypartDetails-DetailsTable-DetailsTable--value--2YD0-">/\n/g' -e 's/"MoonriseTime" class="_-_-components-src-molecule-DaypartDetails-DetailsTable-DetailsTable--value--2YD0-">/\n/g' -e 's/"MoonsetTime" class="_-_-components-src-molecule-DaypartDetails-DetailsTable-DetailsTable--value--2YD0-">/\n/g' $HOME/Weather_com_conky_script/10days
sed -i -e '/<\/head><body>/d' -e 's/<\/span> | / /g' -e 's/<\/span>.*$//g' -e 's/<\/h3>.*$//g' -e 's/<!-- -->//g' -e 's/<\/svg>.*$//g' -e 's/<\/p><\/div>.*$//g' -e 's/<svg class.*viewBox/<svg xmlns:xlink="http:\/\/www.w3.org\/1999\/xlink" viewBox/g' -e 's/<\/h2>.*$//g' -e '/<svg aria-hidden/d' $HOME/Weather_com_conky_script/10days
sed -i '/ '"$night"'$/{4,$!b;n;n;d}' $HOME/Weather_com_conky_script/10days
sed '/<svg xmlns/!d' $HOME/Weather_com_conky_script/10days > $HOME/Weather_com_conky_script/10days_svgs
for (( i=1; i<=15; i+=1 ))
	do
    sed -n ${i}p $HOME/Weather_com_conky_script/10days_svgs > $HOME/Weather_com_conky_script/Forecast_Images/d$i.svg
		cat $HOME/Weather_com_conky_script/svg_classes >> $HOME/Weather_com_conky_script/Forecast_Images/d$i.svg
		colorize_svg $HOME/Weather_com_conky_script/Forecast_Images/d$i.svg
  done
sed -i '/<svg xmlns/d' $HOME/Weather_com_conky_script/10days


##########
# Hourly #
##########
addressH=$(echo $address|sed s/$today/$hourly/)
curl \
  -H 'authority: weather.com' \
  -H 'cache-control: max-age=0' \
  -H 'upgrade-insecure-requests: 1' \
  -H 'user-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.142 Safari/537.36' \
  -H 'accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9' \
  -H 'sec-fetch-site: none' \
  -H 'sec-fetch-mode: navigate' \
  -H 'sec-fetch-user: ?1' \
  -H 'sec-fetch-dest: document' \
  -H 'accept-language: en-US,en;q=0.9' \
  -H 'cookie: logatimLevel=INFO; akacd_NxtGen-DHLS=2177452799~rv=98~id=614d27d4c75f75df7bad5550f54e64b1; speedpin=4G; ci=TWC-Locale-Group=US&X-Origin-Hint=Prod-IBM-LS&TWC-GeoIP-Country=DE&TWC-Privacy=gdpr' \
  --compressed -o $HOME/Weather_com_conky_script/hourly_raw "$addressH"
sed '/DetailsSummary--daypartName--kbngc">/!d' $HOME/Weather_com_conky_script/hourly_raw > $HOME/Weather_com_conky_script/hourly
sed -i -e 's/DetailsSummary--daypartName--kbngc">/\n/g' -e 's/DetailsSummary--tempValue--jEiXE">/\n/g' -e 's/DetailsSummary--condition--2JmHb">/\n/g' -e 's/windWrapper--3Ly7c undefined">/\n/g' -e 's/HourlyContent--wxPhraseLong--2sbaj">/\n/g' -e 's/DetailsTable-DetailsTable--value--2YD0-">/\n/g' -e 's/data-testid="PercentageValue">/\n/g' $HOME/Weather_com_conky_script/hourly
sed -i -e '/<\/head><body>/d' -e 's/<\/span>.*$//g' -e 's/<\/h2>.*$//g' -e 's/<!-- -->//g' -e 's/<\/p>.*$//g' -e 's/<\/svg>.*$//g' -e 's/<svg.*viewBox/<svg xmlns:xlink="http:\/\/www.w3.org\/1999\/xlink" viewBox/g' $HOME/Weather_com_conky_script/hourly
sed '/<svg xmlns/!d' $HOME/Weather_com_conky_script/hourly > $HOME/Weather_com_conky_script/hourly_svgs
for (( i=1; i<=48; i+=1 ))
	do
    sed -n ${i}p $HOME/Weather_com_conky_script/hourly_svgs > $HOME/Weather_com_conky_script/Forecast_Images/h$i.svg
		cat $HOME/Weather_com_conky_script/svg_classes >> $HOME/Weather_com_conky_script/Forecast_Images/h$i.svg
		colorize_svg $HOME/Weather_com_conky_script/Forecast_Images/h$i.svg
  done
sed -i '/<svg xmlns/d' $HOME/Weather_com_conky_script/hourly
#Add leading zeros to hour values, where needed
for (( i=1; i<=424; i+=9 ))
	do
    if (( $(sed -n ${i}p $HOME/Weather_com_conky_script/hourly|wc -c) == 5 )); then
      sed -i ${i}s/^/0/ $HOME/Weather_com_conky_script/hourly
    fi
  done


########################################################
# Moonrise/Moonset values from 10days file to now file #
########################################################
echo -e "\nmoonrise\n\n\n" >> $HOME/Weather_com_conky_script/now
tod_ton=$(sed -n 1p $HOME/Weather_com_conky_script/10days|awk '{ print $3 }')
if [[ $tod_ton == "Night" ]]; then
    sed -i "19s|^.*$|$(sed -n 8p $HOME/Weather_com_conky_script/10days)|" $HOME/Weather_com_conky_script/now
    sed -i '20s/^.*$/moonset/' $HOME/Weather_com_conky_script/now
    sed -i "21s|^.*$|$(sed -n 9p $HOME/Weather_com_conky_script/10days)|" $HOME/Weather_com_conky_script/now
elif [[ $tod_ton != "Night" ]]; then
    sed -i "19s|^.*$|$(sed -n 17p $HOME/Weather_com_conky_script/10days)|" $HOME/Weather_com_conky_script/now
    sed -i '20s/^.*$/moonset/' $HOME/Weather_com_conky_script/now
    sed -i "21s|^.*$|$(sed -n 18p $HOME/Weather_com_conky_script/10days)|" $HOME/Weather_com_conky_script/now
fi


###############
# Cleaning up #
###############
rm $HOME/Weather_com_conky_script/{now_raw,10days_raw,10days_svgs,hourly_raw,hourly_svgs,svg_classes}


########################
# Convert svgs to pngs "
########################
for i in $HOME/Weather_com_conky_script/Forecast_Images/*.svg
do
	fn=$(basename "$i")
	n=${fn%.*}
	convert -background none $HOME/Weather_com_conky_script/Forecast_Images/"$n".svg $HOME/Weather_com_conky_script/Forecast_Images/"$n".png
done
rm $HOME/Weather_com_conky_script/Forecast_Images/*.svg


########################
# Resume weather conky #
########################
pkill -CONT -xf "$weather_conky_launch_command"

weather_com_conkyrc_horizontal_3840x2160

conky.config = {
-- Create own window instead of using desktop (required in nautilus)
	own_window = true,
	own_window_type = 'override',
	own_window_transparent = true,
	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 = 830, minimum_height = 500,
	maximum_width = 830,

	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=10',
	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 = '#FFFFFF',
	color1 = '#949494',

	own_window_colour = 'brown',
	own_window_transparent = true,

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

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

};

conky.text = [[
${color1}${font Arial:size=12}WEATHER ${hr 2}$color${texeci 500 bash $HOME/Weather_com_conky_script/weather_com}${image $HOME/Weather_com_conky_script/Forecast_Images/now.png -p 0,40 -s 150x150}
${goto 190}${font Arial:size=16}${texeci 600 sed -n '2p' $HOME/Weather_com_conky_script/now}$color1  |  $color${texeci 600 sed -n '1p' $HOME/Weather_com_conky_script/now}°(${texeci 600 sed -n '3p' $HOME/Weather_com_conky_script/now}°)
${goto 190}$color1${font Arial:size=12}MOON: $color${texeci 600 sed -n '17p' $HOME/Weather_com_conky_script/now}
${goto 190}$color1${font}HI / LOW:$color ${texeci 600 sed -n '4p' $HOME/Weather_com_conky_script/now}° / ${texeci 600 sed -n '5p' $HOME/Weather_com_conky_script/now}°$color1  |  WIND:$color ${texeci 600 sed -n '7p' $HOME/Weather_com_conky_script/now}$color1  |  UV INDEX:$color ${texeci 600 sed -n '6p' $HOME/Weather_com_conky_script/now}
${goto 190}${color1}SUNRISE:$color ${texeci 600 sed -n '13p' $HOME/Weather_com_conky_script/now}$color1  |  SUNSET:$color ${texeci 600 sed -n '15p' $HOME/Weather_com_conky_script/now}$color1  |  PRESSURE:$color ${texeci 600 sed -n '10p' $HOME/Weather_com_conky_script/now}
${goto 190}${color1}MOONRISE:$color ${texeci 600 sed -n '19p' $HOME/Weather_com_conky_script/now}$color1  |  MOONSET:$color ${texeci 600 sed -n '21p' $HOME/Weather_com_conky_script/now}$color1  |  VISIBILITY:$color ${texeci 600 sed -n '11p' $HOME/Weather_com_conky_script/now}
${if_match "${texeci 600 sed -n '1p' $HOME/Weather_com_conky_script/10days|awk '{ print $3 }'}" == "Day"}
${image $HOME/Weather_com_conky_script/Forecast_Images/d1.png -p 0,215 -s 90x90}${image $HOME/Weather_com_conky_script/Forecast_Images/d2.png -p 120,215 -s 90x90}${image $HOME/Weather_com_conky_script/Forecast_Images/d3.png -p 240,215 -s 90x90}${image $HOME/Weather_com_conky_script/Forecast_Images/d4.png -p 360,215 -s 90x90}${image $HOME/Weather_com_conky_script/Forecast_Images/d5.png -p 480,215 -s 90x90}${image $HOME/Weather_com_conky_script/Forecast_Images/d6.png -p 600,215 -s 90x90}${image $HOME/Weather_com_conky_script/Forecast_Images/d7.png -p 720,215 -s 90x90}${font Arial:size=8}



$font${color1}${goto 40}${font}${texeci 600 sed -n '1p' $HOME/Weather_com_conky_script/10days|tr a-z A-Z|cut -c1-3}${goto 160}${texeci 600 sed -n '19p' $HOME/Weather_com_conky_script/10days|tr a-z A-Z|cut -c1-3}${goto 280}${texeci 600 sed -n '43p' $HOME/Weather_com_conky_script/10days|tr a-z A-Z|cut -c1-3}${goto 400}${texeci 600 sed -n '67p' $HOME/Weather_com_conky_script/10days|tr a-z A-Z|cut -c1-3}${goto 520}${texeci 600 sed -n '91p' $HOME/Weather_com_conky_script/10days|tr a-z A-Z|cut -c1-3}${goto 640}${texeci 600 sed -n '115p' $HOME/Weather_com_conky_script/10days|tr a-z A-Z|cut -c1-3}${goto 760}${texeci 600 sed -n '139p' $HOME/Weather_com_conky_script/10days|tr a-z A-Z|cut -c1-3}$font$color
${goto 30}${texeci 600 sed -n '2p' $HOME/Weather_com_conky_script/10days}/${texeci 600 sed -n '11p' $HOME/Weather_com_conky_script/10days}${goto 150}${texeci 600 sed -n '20p' $HOME/Weather_com_conky_script/10days}/${texeci 600 sed -n '21p' $HOME/Weather_com_conky_script/10days}${goto 270}${texeci 600 sed -n '44p' $HOME/Weather_com_conky_script/10days}/${texeci 600 sed -n '45p' $HOME/Weather_com_conky_script/10days}${goto 390}${texeci 600 sed -n '68p' $HOME/Weather_com_conky_script/10days}/${texeci 600 sed -n '69p' $HOME/Weather_com_conky_script/10days}${goto 510}${texeci 600 sed -n '92p' $HOME/Weather_com_conky_script/10days}/${texeci 600 sed -n '93p' $HOME/Weather_com_conky_script/10days}${goto 630}${texeci 600 sed -n '116p' $HOME/Weather_com_conky_script/10days}/${texeci 600 sed -n '117p' $HOME/Weather_com_conky_script/10days}${goto 750}${texeci 600 sed -n '140p' $HOME/Weather_com_conky_script/10days}/${texeci 600 sed -n '141p' $HOME/Weather_com_conky_script/10days}${else}
${image $HOME/Weather_com_conky_script/Forecast_Images/d1.png -p 0,215 -s 90x90}${image $HOME/Weather_com_conky_script/Forecast_Images/d2.png -p 120,215 -s 90x90}${image $HOME/Weather_com_conky_script/Forecast_Images/d3.png -p 240,215 -s 90x90}${image $HOME/Weather_com_conky_script/Forecast_Images/d4.png -p 360,215 -s 90x90}${image $HOME/Weather_com_conky_script/Forecast_Images/d5.png -p 480,215 -s 90x90}${image $HOME/Weather_com_conky_script/Forecast_Images/d6.png -p 600,215 -s 90x90}${image $HOME/Weather_com_conky_script/Forecast_Images/d7.png -p 720,215 -s 90x90}${font Arial:size=8}



$font${color1}${goto 40}${font}TON${goto 160}${texeci 600 sed -n '10p' $HOME/Weather_com_conky_script/10days|tr a-z A-Z|cut -c1-3}${goto 280}${texeci 600 sed -n '34p' $HOME/Weather_com_conky_script/10days|tr a-z A-Z|cut -c1-3}${goto 400}${texeci 600 sed -n '58p' $HOME/Weather_com_conky_script/10days|tr a-z A-Z|cut -c1-3}${goto 520}${texeci 600 sed -n '82p' $HOME/Weather_com_conky_script/10days|tr a-z A-Z|cut -c1-3}${goto 640}${texeci 600 sed -n '106p' $HOME/Weather_com_conky_script/10days|tr a-z A-Z|cut -c1-3}${goto 760}${texeci 600 sed -n '130p' $HOME/Weather_com_conky_script/10days|tr a-z A-Z|cut -c1-3}$font$color
${goto 30}--°/${texeci 600 sed -n '2p' $HOME/Weather_com_conky_script/10days}${goto 150}${texeci 600 sed -n '11p' $HOME/Weather_com_conky_script/10days}/${texeci 600 sed -n '12p' $HOME/Weather_com_conky_script/10days}${goto 270}${texeci 600 sed -n '35p' $HOME/Weather_com_conky_script/10days}/${texeci 600 sed -n '36p' $HOME/Weather_com_conky_script/10days}${goto 390}${texeci 600 sed -n '59p' $HOME/Weather_com_conky_script/10days}/${texeci 600 sed -n '60p' $HOME/Weather_com_conky_script/10days}${goto 510}${texeci 600 sed -n '83p' $HOME/Weather_com_conky_script/10days}/${texeci 600 sed -n '84p' $HOME/Weather_com_conky_script/10days}${goto 630}${texeci 600 sed -n '107p' $HOME/Weather_com_conky_script/10days}/${texeci 600 sed -n '108p' $HOME/Weather_com_conky_script/10days}${goto 750}${texeci 600 sed -n '131p' $HOME/Weather_com_conky_script/10days}/${texeci 600 sed -n '132p' $HOME/Weather_com_conky_script/10days}${endif}
${image $HOME/Weather_com_conky_script/Forecast_Images/h1.png -p 5,380 -s 50x50}${image $HOME/Weather_com_conky_script/Forecast_Images/h2.png -p 80,380 -s 50x50}${image $HOME/Weather_com_conky_script/Forecast_Images/h3.png -p 155,380 -s 50x50}${image $HOME/Weather_com_conky_script/Forecast_Images/h4.png -p 230,380 -s 50x50}${image $HOME/Weather_com_conky_script/Forecast_Images/h5.png -p 305,380 -s 50x50}${image $HOME/Weather_com_conky_script/Forecast_Images/h6.png -p 380,380 -s 50x50}${image $HOME/Weather_com_conky_script/Forecast_Images/h7.png -p 455,380 -s 50x50}${image $HOME/Weather_com_conky_script/Forecast_Images/h8.png -p 530,380 -s 50x50}${image $HOME/Weather_com_conky_script/Forecast_Images/h9.png -p 605,380 -s 50x50}${image $HOME/Weather_com_conky_script/Forecast_Images/h10.png -p 680,380 -s 50x50}${image $HOME/Weather_com_conky_script/Forecast_Images/h11.png -p 755,380 -s 50x50}


${goto 25}${font Arial:size=8}${color1}${texeci 600 sed -n '1p' $HOME/Weather_com_conky_script/hourly}${goto 100}${texeci 600 sed -n '10p' $HOME/Weather_com_conky_script/hourly}${goto 175}${texeci 600 sed -n '19p' $HOME/Weather_com_conky_script/hourly}${goto 250}${texeci 600 sed -n '28p' $HOME/Weather_com_conky_script/hourly}${goto 325}${texeci 600 sed -n '37p' $HOME/Weather_com_conky_script/hourly}${goto 400}${texeci 600 sed -n '46p' $HOME/Weather_com_conky_script/hourly}${goto 475}${texeci 600 sed -n '55p' $HOME/Weather_com_conky_script/hourly}${goto 550}${texeci 600 sed -n '64p' $HOME/Weather_com_conky_script/hourly}${goto 620}${texeci 600 sed -n '73p' $HOME/Weather_com_conky_script/hourly}${goto 695}${texeci 600 sed -n '82p' $HOME/Weather_com_conky_script/hourly}${goto 775}${texeci 600 sed -n '91p' $HOME/Weather_com_conky_script/hourly}$color
${goto 35}${texeci 600 sed -n '2p' $HOME/Weather_com_conky_script/hourly}${goto 110}${texeci 600 sed -n '11p' $HOME/Weather_com_conky_script/hourly}${goto 185}${texeci 600 sed -n '20p' $HOME/Weather_com_conky_script/hourly}${goto 260}${texeci 600 sed -n '29p' $HOME/Weather_com_conky_script/hourly}${goto 335}${texeci 600 sed -n '38p' $HOME/Weather_com_conky_script/hourly}${goto 410}${texeci 600 sed -n '47p' $HOME/Weather_com_conky_script/hourly}${goto 485}${texeci 600 sed -n '56p' $HOME/Weather_com_conky_script/hourly}${goto 560}${texeci 600 sed -n '65p' $HOME/Weather_com_conky_script/hourly}${goto 635}${texeci 600 sed -n '74p' $HOME/Weather_com_conky_script/hourly}${goto 710}${texeci 600 sed -n '83p' $HOME/Weather_com_conky_script/hourly}${goto 785}${texeci 600 sed -n '92p' $HOME/Weather_com_conky_script/hourly}
${color1}${hr 2}
]];

weather_com_conkyrc_3840x2160

conky.config = {
-- Create own window instead of using desktop (required in nautilus)
	own_window = true,
	own_window_type = 'override',
	own_window_transparent = true,
	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 = 390, minimum_height = 500,
	maximum_width = 390,

	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=8',
	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 = '#FFFFFF',
	color1 = '#949494',

	own_window_colour = 'brown',
	own_window_transparent = true,

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

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

};

conky.text = [[
${color1}${font Arial:size=12}WEATHER ${hr 2}$color${texeci 500 bash $HOME/Weather_com_conky_script/weather_com}${image $HOME/Weather_com_conky_script/Forecast_Images/now.png -p 0,40 -s 150x150}
${goto 200}${texeci 600 sed -n '2p' $HOME/Weather_com_conky_script/now}

${font Arial:size=20}${goto 200}${texeci 600 sed -n '1p' $HOME/Weather_com_conky_script/now}° ${font Arial:size=15}(${texeci 600 sed -n '3p' $HOME/Weather_com_conky_script/now}°)$font

${goto 200}MOON: ${texeci 600 sed -n '17p' $HOME/Weather_com_conky_script/now}

${color1}HI / LOW:$color ${texeci 600 sed -n '4p' $HOME/Weather_com_conky_script/now}° / ${texeci 600 sed -n '5p' $HOME/Weather_com_conky_script/now}°${goto 200}${color1}HUMIDITY:$color ${texeci 600 sed -n '8p' $HOME/Weather_com_conky_script/now}%
${color1}WIND:$color ${texeci 600 sed -n '7p' $HOME/Weather_com_conky_script/now}${goto 200}${color1}PRESSURE:$color ${texeci 600 sed -n '10p' $HOME/Weather_com_conky_script/now}
${color1}UV INDEX:$color ${texeci 600 sed -n '6p' $HOME/Weather_com_conky_script/now}${goto 200}${color1}VISIBILITY:$color ${texeci 600 sed -n '11p' $HOME/Weather_com_conky_script/now}
${color1}SUNRISE:$color ${texeci 600 sed -n '13p' $HOME/Weather_com_conky_script/now}${goto 200}${color1}MOONRISE:$color ${texeci 600 sed -n '19p' $HOME/Weather_com_conky_script/now}
${color1}SUNSET:$color ${texeci 600 sed -n '15p' $HOME/Weather_com_conky_script/now}${goto 200}${color1}MOONSET:$color ${texeci 600 sed -n '21p' $HOME/Weather_com_conky_script/now}
${color1}${hr 1}
${if_match "${texeci 600 sed -n '1p' $HOME/Weather_com_conky_script/10days|awk '{ print $3 }'}" == "Day"}${font Arial:size=11}TODAY${goto 200}TOMORROW$font
${image $HOME/Weather_com_conky_script/Forecast_Images/d1.png -p 0,360 -s 95x95}${image $HOME/Weather_com_conky_script/Forecast_Images/d2.png -p 200,360 -s 95x95}$color
${goto 130}${texeci 600 sed -n '2p' $HOME/Weather_com_conky_script/10days}/${texeci 600 sed -n '11p' $HOME/Weather_com_conky_script/10days}${goto 340}${texeci 600 sed -n '20p' $HOME/Weather_com_conky_script/10days}/${texeci 600 sed -n '21p' $HOME/Weather_com_conky_script/10days}
${goto 130}${texeci 600 sed -n '4p' $HOME/Weather_com_conky_script/10days|sed 's/mph\|km\/h//'}${goto 340}${texeci 600 sed -n '24p' $HOME/Weather_com_conky_script/10days|sed 's/mph\|km\/h//'}${font Arial:size=7}


${font Arial:size=10}${texeci 600 sed -n '5p' $HOME/Weather_com_conky_script/10days|cut -c1-15}${goto 200}${texeci 600 sed -n '22p' $HOME/Weather_com_conky_script/10days}
${color1}${hr 1}
${font}${texeci 600 sed -n '43p' $HOME/Weather_com_conky_script/10days|tr a-z A-Z|cut -c1-3|sed 's/MON/MONDAY/'|sed 's/TUE/TUESDAY/'|sed 's/WED/WEDNESDAY/'|sed 's/THU/THURSDAY/'|sed 's/FRI/FRIDAY/'|sed 's/SAT/SATURDAY/'|sed 's/SUN/SUNDAY/'}${goto 150}${texeci 600 sed -n '67p' $HOME/Weather_com_conky_script/10days|tr a-z A-Z|cut -c1-3|sed 's/MON/MONDAY/'|sed 's/TUE/TUESDAY/'|sed 's/WED/WEDNESDAY/'|sed 's/THU/THURSDAY/'|sed 's/FRI/FRIDAY/'|sed 's/SAT/SATURDAY/'|sed 's/SUN/SUNDAY/'}${goto 280}${texeci 600 sed -n '91p' $HOME/Weather_com_conky_script/10days|tr a-z A-Z|cut -c1-3|sed 's/MON/MONDAY/'|sed 's/TUE/TUESDAY/'|sed 's/WED/WEDNESDAY/'|sed 's/THU/THURSDAY/'|sed 's/FRI/FRIDAY/'|sed 's/SAT/SATURDAY/'|sed 's/SUN/SUNDAY/'}${image $HOME/Weather_com_conky_script/Forecast_Images/d3.png -p 0,535 -s 70x70}${image $HOME/Weather_com_conky_script/Forecast_Images/d4.png -p 130,535 -s 70x70}${image $HOME/Weather_com_conky_script/Forecast_Images/d5.png -p 260,535 -s 70x70}

${font Arial:size=7}${color}${goto 110}${texeci 600 sed -n '44p' $HOME/Weather_com_conky_script/10days}${goto 240}${texeci 600 sed -n '68p' $HOME/Weather_com_conky_script/10days}${goto 370}${texeci 600 sed -n '92p' $HOME/Weather_com_conky_script/10days}
${goto 110}${texeci 600 sed -n '45p' $HOME/Weather_com_conky_script/10days}${goto 240}${texeci 600 sed -n '69p' $HOME/Weather_com_conky_script/10days}°${goto 370}${texeci 600 sed -n '93p' $HOME/Weather_com_conky_script/10days}

${texeci 600 sed -n '46p' $HOME/Weather_com_conky_script/10days|cut -c1-15}${goto 150}${texeci 600 sed -n '70p' $HOME/Weather_com_conky_script/10days|cut -c1-15}${goto 280}${texeci 600 sed -n '94p' $HOME/Weather_com_conky_script/10days|cut -c1-15}
${color1}${hr 1}
${font Arial:size=8}${color1}${goto 25}${texeci 600 sed -n '115p' $HOME/Weather_com_conky_script/10days|tr a-z A-Z|cut -c1-3}${goto 90}${texeci 600 sed -n '139p' $HOME/Weather_com_conky_script/10days|tr a-z A-Z|cut -c1-3}${goto 163}${texeci 600 sed -n '163p' $HOME/Weather_com_conky_script/10days|tr a-z A-Z|cut -c1-3}${goto 220}${texeci 600 sed -n '187p' $HOME/Weather_com_conky_script/10days|tr a-z A-Z|cut -c1-3}${goto 285}${texeci 600 sed -n '211p' $HOME/Weather_com_conky_script/10days|tr a-z A-Z|cut -c1-3}${goto 350}${texeci 600 sed -n '235p' $HOME/Weather_com_conky_script/10days|tr a-z A-Z|cut -c1-3}${image $HOME/Weather_com_conky_script/Forecast_Images/d6.png -p 0,675 -s 50x50}${image $HOME/Weather_com_conky_script/Forecast_Images/d7.png -p 65,675 -s 50x50}${image $HOME/Weather_com_conky_script/Forecast_Images/d8.png -p 130,675 -s 50x50}${image $HOME/Weather_com_conky_script/Forecast_Images/d9.png -p 195,675 -s 50x50}${image $HOME/Weather_com_conky_script/Forecast_Images/d10.png -p 260,675 -s 50x50}${image $HOME/Weather_com_conky_script/Forecast_Images/d11.png -p 325,675 -s 50x50}${font Arial:size=7}



${color}${goto 20}${texeci 600 sed -n '116p' $HOME/Weather_com_conky_script/10days}/${texeci 600 sed -n '117p' $HOME/Weather_com_conky_script/10days}${goto 85}${texeci 600 sed -n '140p' $HOME/Weather_com_conky_script/10days}/${texeci 600 sed -n '141p' $HOME/Weather_com_conky_script/10days}${goto 150}${texeci 600 sed -n '164p' $HOME/Weather_com_conky_script/10days}/${texeci 600 sed -n '165p' $HOME/Weather_com_conky_script/10days}${goto 215}${texeci 600 sed -n '188p' $HOME/Weather_com_conky_script/10days}/${texeci 600 sed -n '189p' $HOME/Weather_com_conky_script/10days}${goto 280}${texeci 600 sed -n '212p' $HOME/Weather_com_conky_script/10days}/${texeci 600 sed -n '213p' $HOME/Weather_com_conky_script/10days}${goto 345}${texeci 600 sed -n '236p' $HOME/Weather_com_conky_script/10days}/${texeci 600 sed -n '237p' $HOME/Weather_com_conky_script/10days}${else}${font Arial:size=11}TONIGHT${goto 200}${texeci 600 sed -n '10p' $HOME/Weather_com_conky_script/10days|tr a-z A-Z|cut -c1-3|sed 's/MON/MONDAY/'|sed 's/TUE/TUESDAY/'|sed 's/WED/WEDNESDAY/'|sed 's/THU/THURSDAY/'|sed 's/FRI/FRIDAY/'|sed 's/SAT/SATURDAY/'|sed 's/SUN/SUNDAY/'}$font
${image $HOME/Weather_com_conky_script/Forecast_Images/d1.png -p 0,360 -s 95x95}${image $HOME/Weather_com_conky_script/Forecast_Images/d2.png -p 200,360 -s 95x95}$color
${goto 130}--°/${texeci 600 sed -n '2p' $HOME/Weather_com_conky_script/10days}${goto 340}${texeci 600 sed -n '11p' $HOME/Weather_com_conky_script/10days}/${texeci 600 sed -n '12p' $HOME/Weather_com_conky_script/10days}
${goto 130}${texeci 600 sed -n '4p' $HOME/Weather_com_conky_script/10days|sed 's/mph\|km\/h//'}${goto 340}${texeci 600 sed -n '19p' $HOME/Weather_com_conky_script/10days|sed 's/mph\|km\/h//'}


${font Arial:size=10}${texeci 600 sed -n '5p' $HOME/Weather_com_conky_script/10days|cut -c1-15}${goto 200}${texeci 600 sed -n '13p' $HOME/Weather_com_conky_script/10days}
${color1}${hr 1}
${font}${texeci 600 sed -n '34p' $HOME/Weather_com_conky_script/10days|tr a-z A-Z|cut -c1-3|sed 's/MON/MONDAY/'|sed 's/TUE/TUESDAY/'|sed 's/WED/WEDNESDAY/'|sed 's/THU/THURSDAY/'|sed 's/FRI/FRIDAY/'|sed 's/SAT/SATURDAY/'|sed 's/SUN/SUNDAY/'}${goto 150}${texeci 600 sed -n '58p' $HOME/Weather_com_conky_script/10days|tr a-z A-Z|cut -c1-3|sed 's/MON/MONDAY/'|sed 's/TUE/TUESDAY/'|sed 's/WED/WEDNESDAY/'|sed 's/THU/THURSDAY/'|sed 's/FRI/FRIDAY/'|sed 's/SAT/SATURDAY/'|sed 's/SUN/SUNDAY/'}${goto 280}${texeci 600 sed -n '82p' $HOME/Weather_com_conky_script/10days|tr a-z A-Z|cut -c1-3|sed 's/MON/MONDAY/'|sed 's/TUE/TUESDAY/'|sed 's/WED/WEDNESDAY/'|sed 's/THU/THURSDAY/'|sed 's/FRI/FRIDAY/'|sed 's/SAT/SATURDAY/'|sed 's/SUN/SUNDAY/'}${image $HOME/Weather_com_conky_script/Forecast_Images/d3.png -p 0,535 -s 70x70}${image $HOME/Weather_com_conky_script/Forecast_Images/d4.png -p 130,535 -s 70x70}${image $HOME/Weather_com_conky_script/Forecast_Images/d5.png -p 260,535 -s 70x70}

${font Arial:size=7}${color}${goto 110}${texeci 600 sed -n '35p' $HOME/Weather_com_conky_script/10days}${goto 240}${texeci 600 sed -n '59p' $HOME/Weather_com_conky_script/10days}${goto 370}${texeci 600 sed -n '83p' $HOME/Weather_com_conky_script/10days}
${goto 110}${texeci 600 sed -n '36p' $HOME/Weather_com_conky_script/10days}${goto 240}${texeci 600 sed -n '60p' $HOME/Weather_com_conky_script/10days}${goto 370}${texeci 600 sed -n '84p' $HOME/Weather_com_conky_script/10days}

${texeci 600 sed -n '37p' $HOME/Weather_com_conky_script/10days|cut -c1-15}${goto 150}${texeci 600 sed -n '61p' $HOME/Weather_com_conky_script/10days|cut -c1-15}${goto 280}${texeci 600 sed -n '85p' $HOME/Weather_com_conky_script/10days|cut -c1-15}
${color1}${hr 1}
${font Arial:size=8}${color1}${goto 25}${texeci 600 sed -n '106p' $HOME/Weather_com_conky_script/10days|tr a-z A-Z|cut -c1-3}${goto 90}${texeci 600 sed -n '130p' $HOME/Weather_com_conky_script/10days|tr a-z A-Z|cut -c1-3}${goto 155}${texeci 600 sed -n '154p' $HOME/Weather_com_conky_script/10days|tr a-z A-Z|cut -c1-3}${goto 220}${texeci 600 sed -n '178p' $HOME/Weather_com_conky_script/10days|tr a-z A-Z|cut -c1-3}${goto 285}${texeci 600 sed -n '202p' $HOME/Weather_com_conky_script/10days|tr a-z A-Z|cut -c1-3}${goto 350}${texeci 600 sed -n '226p' $HOME/Weather_com_conky_script/10days|tr a-z A-Z|cut -c1-3}${image $HOME/Weather_com_conky_script/Forecast_Images/d6.png -p 0,675 -s 50x50}${image $HOME/Weather_com_conky_script/Forecast_Images/d7.png -p 65,675 -s 50x50}${image $HOME/Weather_com_conky_script/Forecast_Images/d8.png -p 130,675 -s 50x50}${image $HOME/Weather_com_conky_script/Forecast_Images/d9.png -p 195,675 -s 50x50}${image $HOME/Weather_com_conky_script/Forecast_Images/d10.png -p 260,675 -s 50x50}${image $HOME/Weather_com_conky_script/Forecast_Images/d11.png -p 325,675 -s 50x50}${font Arial:size=7}



${color}${goto 20}${texeci 600 sed -n '107p' $HOME/Weather_com_conky_script/10days}/${texeci 600 sed -n '108p' $HOME/Weather_com_conky_script/10days}${goto 85}${texeci 600 sed -n '131p' $HOME/Weather_com_conky_script/10days}/${texeci 600 sed -n '132p' $HOME/Weather_com_conky_script/10days}${goto 150}${texeci 600 sed -n '155p' $HOME/Weather_com_conky_script/10days}/${texeci 600 sed -n '156p' $HOME/Weather_com_conky_script/10days}${goto 215}${texeci 600 sed -n '179p' $HOME/Weather_com_conky_script/10days}/${texeci 600 sed -n '180p' $HOME/Weather_com_conky_script/10days}${goto 280}${texeci 600 sed -n '203p' $HOME/Weather_com_conky_script/10days}/${texeci 600 sed -n '204p' $HOME/Weather_com_conky_script/10days}${goto 345}${texeci 600 sed -n '227p' $HOME/Weather_com_conky_script/10days}/${texeci 600 sed -n '228p' $HOME/Weather_com_conky_script/10days}${endif}

${color1}${font Arial:size=12}12 HOURS ${hr 2}
${font Arial:size=8}${goto 25}${texeci 600 sed -n '1p' $HOME/Weather_com_conky_script/hourly}${goto 90}${texeci 600 sed -n '10p' $HOME/Weather_com_conky_script/hourly}${goto 155}${texeci 600 sed -n '19p' $HOME/Weather_com_conky_script/hourly}${goto 220}${texeci 600 sed -n '28p' $HOME/Weather_com_conky_script/hourly}${goto 285}${texeci 600 sed -n '37p' $HOME/Weather_com_conky_script/hourly}${goto 350}${texeci 600 sed -n '46p' $HOME/Weather_com_conky_script/hourly}${image $HOME/Weather_com_conky_script/Forecast_Images/h1.png -p 0,830 -s 50x50}${image $HOME/Weather_com_conky_script/Forecast_Images/h2.png -p 65,830 -s 50x50}${image $HOME/Weather_com_conky_script/Forecast_Images/h3.png -p 130,830 -s 50x50}${image $HOME/Weather_com_conky_script/Forecast_Images/h4.png -p 195,830 -s 50x50}${image $HOME/Weather_com_conky_script/Forecast_Images/h5.png -p 260,830 -s 50x50}${image $HOME/Weather_com_conky_script/Forecast_Images/h6.png -p 325,830 -s 50x50}



${color}${goto 30}${texeci 600 sed -n '2p' $HOME/Weather_com_conky_script/hourly}${goto 95}${texeci 600 sed -n '11p' $HOME/Weather_com_conky_script/hourly}${goto 160}${texeci 600 sed -n '20p' $HOME/Weather_com_conky_script/hourly}${goto 225}${texeci 600 sed -n '29p' $HOME/Weather_com_conky_script/hourly}${goto 290}${texeci 600 sed -n '38p' $HOME/Weather_com_conky_script/hourly}${goto 355}${texeci 600 sed -n '47p' $HOME/Weather_com_conky_script/hourly}
${color1}${goto 25}${texeci 600 sed -n '55p' $HOME/Weather_com_conky_script/hourly}${goto 90}${texeci 600 sed -n '64p' $HOME/Weather_com_conky_script/hourly}${goto 155}${texeci 600 sed -n '73p' $HOME/Weather_com_conky_script/hourly}${goto 220}${texeci 600 sed -n '82p' $HOME/Weather_com_conky_script/hourly}${goto 285}${texeci 600 sed -n '91p' $HOME/Weather_com_conky_script/hourly}${goto 350}${texeci 600 sed -n '100p' $HOME/Weather_com_conky_script/hourly}${image $HOME/Weather_com_conky_script/Forecast_Images/h7.png -p 0,935 -s 50x50}${image $HOME/Weather_com_conky_script/Forecast_Images/h8.png -p 65,935 -s 50x50}${image $HOME/Weather_com_conky_script/Forecast_Images/h9.png -p 130,935 -s 50x50}${image $HOME/Weather_com_conky_script/Forecast_Images/h10.png -p 195,935 -s 50x50}${image $HOME/Weather_com_conky_script/Forecast_Images/h11.png -p 260,935 -s 50x50}${image $HOME/Weather_com_conky_script/Forecast_Images/h12.png -p 325,935 -s 50x50}



${color}${goto 30}${texeci 600 sed -n '56p' $HOME/Weather_com_conky_script/hourly}${goto 95}${texeci 600 sed -n '65p' $HOME/Weather_com_conky_script/hourly}${goto 160}${texeci 600 sed -n '74p' $HOME/Weather_com_conky_script/hourly}${goto 225}${texeci 600 sed -n '83p' $HOME/Weather_com_conky_script/hourly}${goto 290}${texeci 600 sed -n '92p' $HOME/Weather_com_conky_script/hourly}${goto 355}${texeci 600 sed -n '101p' $HOME/Weather_com_conky_script/hourly}
${color1}${hr 1}

]];

weather_com_conkyrc_1920x1080

conky.config = {
-- Create own window instead of using desktop (required in nautilus)
	own_window = true,
	own_window_type = 'override',
	own_window_transparent = true,
	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 = 235, minimum_height = 500,
	maximum_width = 235,

	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=8',
	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 = '#FFFFFF',
	color1 = '#949494',

	own_window_colour = 'brown',
	own_window_transparent = true,

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

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

};

conky.text = [[
${color1}${font Arial:size=12}WEATHER ${hr 2}$color${texeci 500 bash $HOME/Weather_com_conky_script/weather_com}${image $HOME/Weather_com_conky_script/Forecast_Images/now.png -p 0,30 -s 80x80}
${goto 120}${texeci 600 sed -n '2p' $HOME/Weather_com_conky_script/now}

${font Arial:size=20}${goto 120}${texeci 600 sed -n '1p' $HOME/Weather_com_conky_script/now}° ${font Arial:size=15}(${texeci 600 sed -n '3p' $HOME/Weather_com_conky_script/now}°)$font

${goto 130}MOON: ${texeci 600 sed -n '17p' $HOME/Weather_com_conky_script/now}

${color1}HI / LOW:$color ${texeci 600 sed -n '4p' $HOME/Weather_com_conky_script/now}° / ${texeci 600 sed -n '5p' $HOME/Weather_com_conky_script/now}°${goto 130}${color1}HUMIDITY:$color ${texeci 600 sed -n '8p' $HOME/Weather_com_conky_script/now}%
${color1}WIND:$color ${texeci 600 sed -n '7p' $HOME/Weather_com_conky_script/now}${goto 130}${color1}PRESSURE:$color ${texeci 600 sed -n '10p' $HOME/Weather_com_conky_script/now}
${color1}UV INDEX:$color ${texeci 600 sed -n '6p' $HOME/Weather_com_conky_script/now}${goto 130}${color1}VISIBILITY:$color ${texeci 600 sed -n '11p' $HOME/Weather_com_conky_script/now}
${color1}SUNRISE:$color ${texeci 600 sed -n '13p' $HOME/Weather_com_conky_script/now}${goto 130}${color1}MOONRISE:$color ${texeci 600 sed -n '19p' $HOME/Weather_com_conky_script/now}
${color1}SUNSET:$color ${texeci 600 sed -n '15p' $HOME/Weather_com_conky_script/now}${goto 130}${color1}MOONSET:$color ${texeci 600 sed -n '21p' $HOME/Weather_com_conky_script/now}
${color1}${hr 1}
${if_match "${texeci 600 sed -n '1p' $HOME/Weather_com_conky_script/10days|awk '{ print $3 }'}" == "Day"}${font Arial:size=11}TODAY${goto 130}TOMORROW$font
${image $HOME/Weather_com_conky_script/Forecast_Images/d1.png -p 0,220 -s 60x60}${image $HOME/Weather_com_conky_script/Forecast_Images/d2.png -p 120,220 -s 60x60}$color
${goto 85}${texeci 600 sed -n '2p' $HOME/Weather_com_conky_script/10days}/${texeci 600 sed -n '11p' $HOME/Weather_com_conky_script/10days}${goto 210}${texeci 600 sed -n '20p' $HOME/Weather_com_conky_script/10days}/${texeci 600 sed -n '21p' $HOME/Weather_com_conky_script/10days}
${goto 85}${texeci 600 sed -n '4p' $HOME/Weather_com_conky_script/10days|sed 's/mph\|km\/h//'}${goto 210}${texeci 600 sed -n '24p' $HOME/Weather_com_conky_script/10days|sed 's/mph\|km\/h//'}${font Arial:size=7}


${font Arial:size=10}${texeci 600 sed -n '5p' $HOME/Weather_com_conky_script/10days|cut -c1-15}${goto 130}${texeci 600 sed -n '22p' $HOME/Weather_com_conky_script/10days|cut -c1-15}
${color1}${hr 1}
${font}${texeci 600 sed -n '43p' $HOME/Weather_com_conky_script/10days|tr a-z A-Z|cut -c1-3|sed 's/MON/MONDAY/'|sed 's/TUE/TUESDAY/'|sed 's/WED/WEDNESDAY/'|sed 's/THU/THURSDAY/'|sed 's/FRI/FRIDAY/'|sed 's/SAT/SATURDAY/'|sed 's/SUN/SUNDAY/'}${goto 100}${texeci 600 sed -n '67p' $HOME/Weather_com_conky_script/10days|tr a-z A-Z|cut -c1-3|sed 's/MON/MONDAY/'|sed 's/TUE/TUESDAY/'|sed 's/WED/WEDNESDAY/'|sed 's/THU/THURSDAY/'|sed 's/FRI/FRIDAY/'|sed 's/SAT/SATURDAY/'|sed 's/SUN/SUNDAY/'}${goto 180}${texeci 600 sed -n '91p' $HOME/Weather_com_conky_script/10days|tr a-z A-Z|cut -c1-3|sed 's/MON/MONDAY/'|sed 's/TUE/TUESDAY/'|sed 's/WED/WEDNESDAY/'|sed 's/THU/THURSDAY/'|sed 's/FRI/FRIDAY/'|sed 's/SAT/SATURDAY/'|sed 's/SUN/SUNDAY/'}${image $HOME/Weather_com_conky_script/Forecast_Images/d3.png -p 0,335 -s 45x45}${image $HOME/Weather_com_conky_script/Forecast_Images/d4.png -p 80,335 -s 45x45}${image $HOME/Weather_com_conky_script/Forecast_Images/d5.png -p 160,335 -s 45x45}

${font Arial:size=7}${color}${goto 75}${texeci 600 sed -n '44p' $HOME/Weather_com_conky_script/10days}${goto 155}${texeci 600 sed -n '68p' $HOME/Weather_com_conky_script/10days}${goto 235}${texeci 600 sed -n '92p' $HOME/Weather_com_conky_script/10days}
${goto 75}${texeci 600 sed -n '45p' $HOME/Weather_com_conky_script/10days}${goto 155}${texeci 600 sed -n '69p' $HOME/Weather_com_conky_script/10days}${goto 235}${texeci 600 sed -n '93p' $HOME/Weather_com_conky_script/10days}

${texeci 600 sed -n '46p' $HOME/Weather_com_conky_script/10days|cut -c1-15}${goto 100}${texeci 600 sed -n '70p' $HOME/Weather_com_conky_script/10days|cut -c1-15}${goto 180}${texeci 600 sed -n '94p' $HOME/Weather_com_conky_script/10days|cut -c1-15}
${color1}${hr 1}
${font Arial:size=8}${color1}${goto 25}${texeci 600 sed -n '115p' $HOME/Weather_com_conky_script/10days|tr a-z A-Z|cut -c1-3}${goto 65}${texeci 600 sed -n '139p' $HOME/Weather_com_conky_script/10days|tr a-z A-Z|cut -c1-3}${goto 105}${texeci 600 sed -n '163p' $HOME/Weather_com_conky_script/10days|tr a-z A-Z|cut -c1-3}${goto 145}${texeci 600 sed -n '187p' $HOME/Weather_com_conky_script/10days|tr a-z A-Z|cut -c1-3}${goto 185}${texeci 600 sed -n '211p' $HOME/Weather_com_conky_script/10days|tr a-z A-Z|cut -c1-3}${goto 225}${texeci 600 sed -n '235p' $HOME/Weather_com_conky_script/10days|tr a-z A-Z|cut -c1-3}${image $HOME/Weather_com_conky_script/Forecast_Images/d6.png -p 0,415 -s 30x30}${image $HOME/Weather_com_conky_script/Forecast_Images/d7.png -p 40,415 -s 30x30}${image $HOME/Weather_com_conky_script/Forecast_Images/d8.png -p 80,415 -s 30x30}${image $HOME/Weather_com_conky_script/Forecast_Images/d9.png -p 120,415 -s 30x30}${image $HOME/Weather_com_conky_script/Forecast_Images/d10.png -p 160,415 -s 30x30}${image $HOME/Weather_com_conky_script/Forecast_Images/d11.png -p 200,415 -s 30x30}${font Arial:size=7}



${color}${goto 20}${texeci 600 sed -n '116p' $HOME/Weather_com_conky_script/10days}/${texeci 600 sed -n '117p' $HOME/Weather_com_conky_script/10days}${goto 60}${texeci 600 sed -n '140p' $HOME/Weather_com_conky_script/10days}/${texeci 600 sed -n '141p' $HOME/Weather_com_conky_script/10days}${goto 100}${texeci 600 sed -n '164p' $HOME/Weather_com_conky_script/10days}/${texeci 600 sed -n '165p' $HOME/Weather_com_conky_script/10days}${goto 140}${texeci 600 sed -n '188p' $HOME/Weather_com_conky_script/10days}/${texeci 600 sed -n '189p' $HOME/Weather_com_conky_script/10days}${goto 180}${texeci 600 sed -n '212p' $HOME/Weather_com_conky_script/10days}/${texeci 600 sed -n '213p' $HOME/Weather_com_conky_script/10days}${goto 220}${texeci 600 sed -n '236p' $HOME/Weather_com_conky_script/10days}/${texeci 600 sed -n '237p' $HOME/Weather_com_conky_script/10days}${else}${font Arial:size=11}TONIGHT${goto 130}${texeci 600 sed -n '10p' $HOME/Weather_com_conky_script/10days|tr a-z A-Z|cut -c1-3|sed 's/MON/MONDAY/'|sed 's/TUE/TUESDAY/'|sed 's/WED/WEDNESDAY/'|sed 's/THU/THURSDAY/'|sed 's/FRI/FRIDAY/'|sed 's/SAT/SATURDAY/'|sed 's/SUN/SUNDAY/'}$font
${image $HOME/Weather_com_conky_script/Forecast_Images/d1.png -p 0,220 -s 60x60}${image $HOME/Weather_com_conky_script/Forecast_Images/d2.png -p 120,220 -s 60x60}$color
${goto 85}--°/${texeci 600 sed -n '2p' $HOME/Weather_com_conky_script/10days}${goto 210}${texeci 600 sed -n '11p' $HOME/Weather_com_conky_script/10days}/${texeci 600 sed -n '12p' $HOME/Weather_com_conky_script/10days}
${goto 85}${texeci 600 sed -n '4p' $HOME/Weather_com_conky_script/10days|sed 's/mph\|km\/h//'}${goto 210}${texeci 600 sed -n '19p' $HOME/Weather_com_conky_script/10days|sed 's/mph\|km\/h//'}


${font Arial:size=10}${texeci 600 sed -n '5p' $HOME/Weather_com_conky_script/10days|cut -c1-15}${goto 130}${texeci 600 sed -n '13p' $HOME/Weather_com_conky_script/10days|cut -c1-15}
${color1}${hr 1}
${font}${texeci 600 sed -n '34p' $HOME/Weather_com_conky_script/10days|tr a-z A-Z|cut -c1-3|sed 's/MON/MONDAY/'|sed 's/TUE/TUESDAY/'|sed 's/WED/WEDNESDAY/'|sed 's/THU/THURSDAY/'|sed 's/FRI/FRIDAY/'|sed 's/SAT/SATURDAY/'|sed 's/SUN/SUNDAY/'}${goto 100}${texeci 600 sed -n '58p' $HOME/Weather_com_conky_script/10days|tr a-z A-Z|cut -c1-3|sed 's/MON/MONDAY/'|sed 's/TUE/TUESDAY/'|sed 's/WED/WEDNESDAY/'|sed 's/THU/THURSDAY/'|sed 's/FRI/FRIDAY/'|sed 's/SAT/SATURDAY/'|sed 's/SUN/SUNDAY/'}${goto 180}${texeci 600 sed -n '82p' $HOME/Weather_com_conky_script/10days|tr a-z A-Z|cut -c1-3|sed 's/MON/MONDAY/'|sed 's/TUE/TUESDAY/'|sed 's/WED/WEDNESDAY/'|sed 's/THU/THURSDAY/'|sed 's/FRI/FRIDAY/'|sed 's/SAT/SATURDAY/'|sed 's/SUN/SUNDAY/'}${image $HOME/Weather_com_conky_script/Forecast_Images/d3.png -p 0,335 -s 45x45}${image $HOME/Weather_com_conky_script/Forecast_Images/d4.png -p 80,335 -s 45x45}${image $HOME/Weather_com_conky_script/Forecast_Images/d5.png -p 160,335 -s 45x45}

${font Arial:size=7}${color}${goto 75}${texeci 600 sed -n '35p' $HOME/Weather_com_conky_script/10days}${goto 155}${texeci 600 sed -n '59p' $HOME/Weather_com_conky_script/10days}${goto 235}${texeci 600 sed -n '83p' $HOME/Weather_com_conky_script/10days}
${goto 75}${texeci 600 sed -n '36p' $HOME/Weather_com_conky_script/10days}${goto 155}${texeci 600 sed -n '60p' $HOME/Weather_com_conky_script/10days}${goto 235}${texeci 600 sed -n '84p' $HOME/Weather_com_conky_script/10days}

${texeci 600 sed -n '37p' $HOME/Weather_com_conky_script/10days|cut -c1-15}${goto 100}${texeci 600 sed -n '61p' $HOME/Weather_com_conky_script/10days|cut -c1-15}${goto 180}${texeci 600 sed -n '85p' $HOME/Weather_com_conky_script/10days|cut -c1-15}
${color1}${hr 1}
${font Arial:size=8}${color1}${goto 25}${texeci 600 sed -n '106p' $HOME/Weather_com_conky_script/10days|tr a-z A-Z|cut -c1-3}${goto 65}${texeci 600 sed -n '130p' $HOME/Weather_com_conky_script/10days|tr a-z A-Z|cut -c1-3}${goto 105}${texeci 600 sed -n '154p' $HOME/Weather_com_conky_script/10days|tr a-z A-Z|cut -c1-3}${goto 145}${texeci 600 sed -n '178p' $HOME/Weather_com_conky_script/10days|tr a-z A-Z|cut -c1-3}${goto 185}${texeci 600 sed -n '202p' $HOME/Weather_com_conky_script/10days|tr a-z A-Z|cut -c1-3}${goto 225}${texeci 600 sed -n '226p' $HOME/Weather_com_conky_script/10days|tr a-z A-Z|cut -c1-3}${image $HOME/Weather_com_conky_script/Forecast_Images/d6.png -p 0,415 -s 30x30}${image $HOME/Weather_com_conky_script/Forecast_Images/d7.png -p 40,415 -s 30x30}${image $HOME/Weather_com_conky_script/Forecast_Images/d8.png -p 80,415 -s 30x30}${image $HOME/Weather_com_conky_script/Forecast_Images/d9.png -p 120,415 -s 30x30}${image $HOME/Weather_com_conky_script/Forecast_Images/d10.png -p 160,415 -s 30x30}${image $HOME/Weather_com_conky_script/Forecast_Images/d11.png -p 200,415 -s 30x30}${font Arial:size=7}



${color}${goto 20}${texeci 600 sed -n '107p' $HOME/Weather_com_conky_script/10days}/${texeci 600 sed -n '108p' $HOME/Weather_com_conky_script/10days}${goto 60}${texeci 600 sed -n '131p' $HOME/Weather_com_conky_script/10days}/${texeci 600 sed -n '132p' $HOME/Weather_com_conky_script/10days}${goto 100}${texeci 600 sed -n '155p' $HOME/Weather_com_conky_script/10days}/${texeci 600 sed -n '156p' $HOME/Weather_com_conky_script/10days}${goto 140}${texeci 600 sed -n '179p' $HOME/Weather_com_conky_script/10days}/${texeci 600 sed -n '180p' $HOME/Weather_com_conky_script/10days}${goto 180}${texeci 600 sed -n '203p' $HOME/Weather_com_conky_script/10days}/${texeci 600 sed -n '204p' $HOME/Weather_com_conky_script/10days}${goto 220}${texeci 600 sed -n '227p' $HOME/Weather_com_conky_script/10days}/${texeci 600 sed -n '228p' $HOME/Weather_com_conky_script/10days}${endif}

${color1}${font Arial:size=12}12 HOURS ${hr 2}
${font Arial:size=8}${goto 25}${texeci 600 sed -n '1p' $HOME/Weather_com_conky_script/hourly}${goto 65}${texeci 600 sed -n '10p' $HOME/Weather_com_conky_script/hourly}${goto 105}${texeci 600 sed -n '19p' $HOME/Weather_com_conky_script/hourly}${goto 145}${texeci 600 sed -n '28p' $HOME/Weather_com_conky_script/hourly}${goto 185}${texeci 600 sed -n '37p' $HOME/Weather_com_conky_script/hourly}${goto 225}${texeci 600 sed -n '46p' $HOME/Weather_com_conky_script/hourly}${image $HOME/Weather_com_conky_script/Forecast_Images/h1.png -p 0,510 -s 30x30}${image $HOME/Weather_com_conky_script/Forecast_Images/h2.png -p 40,510 -s 30x30}${image $HOME/Weather_com_conky_script/Forecast_Images/h3.png -p 80,510 -s 30x30}${image $HOME/Weather_com_conky_script/Forecast_Images/h4.png -p 120,510 -s 30x30}${image $HOME/Weather_com_conky_script/Forecast_Images/h5.png -p 160,510 -s 30x30}${image $HOME/Weather_com_conky_script/Forecast_Images/h6.png -p 200,510 -s 30x30}



${color}${goto 30}${texeci 600 sed -n '2p' $HOME/Weather_com_conky_script/hourly}${goto 70}${texeci 600 sed -n '11p' $HOME/Weather_com_conky_script/hourly}${goto 110}${texeci 600 sed -n '20p' $HOME/Weather_com_conky_script/hourly}${goto 150}${texeci 600 sed -n '29p' $HOME/Weather_com_conky_script/hourly}${goto 190}${texeci 600 sed -n '38p' $HOME/Weather_com_conky_script/hourly}${goto 230}${texeci 600 sed -n '47p' $HOME/Weather_com_conky_script/hourly}
${color1}${goto 25}${texeci 600 sed -n '55p' $HOME/Weather_com_conky_script/hourly}${goto 65}${texeci 600 sed -n '64p' $HOME/Weather_com_conky_script/hourly}${goto 105}${texeci 600 sed -n '73p' $HOME/Weather_com_conky_script/hourly}${goto 145}${texeci 600 sed -n '82p' $HOME/Weather_com_conky_script/hourly}${goto 185}${texeci 600 sed -n '91p' $HOME/Weather_com_conky_script/hourly}${goto 225}${texeci 600 sed -n '100p' $HOME/Weather_com_conky_script/hourly}${image $HOME/Weather_com_conky_script/Forecast_Images/h7.png -p 0,570 -s 30x30}${image $HOME/Weather_com_conky_script/Forecast_Images/h8.png -p 40,570 -s 30x30}${image $HOME/Weather_com_conky_script/Forecast_Images/h9.png -p 80,570 -s 30x30}${image $HOME/Weather_com_conky_script/Forecast_Images/h10.png -p 120,570 -s 30x30}${image $HOME/Weather_com_conky_script/Forecast_Images/h11.png -p 160,570 -s 30x30}${image $HOME/Weather_com_conky_script/Forecast_Images/h12.png -p 200,570 -s 30x30}



${color}${goto 30}${texeci 600 sed -n '56p' $HOME/Weather_com_conky_script/hourly}${goto 70}${texeci 600 sed -n '65p' $HOME/Weather_com_conky_script/hourly}${goto 110}${texeci 600 sed -n '74p' $HOME/Weather_com_conky_script/hourly}${goto 150}${texeci 600 sed -n '83p' $HOME/Weather_com_conky_script/hourly}${goto 190}${texeci 600 sed -n '92p' $HOME/Weather_com_conky_script/hourly}${goto 230}${texeci 600 sed -n '101p' $HOME/Weather_com_conky_script/hourly}
${color1}${hr 1}

]];

weather_com_conkyrc_horizontal_1920x1080

conky.config = {
-- Create own window instead of using desktop (required in nautilus)
	own_window = true,
	own_window_type = 'override',
	own_window_transparent = true,
	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 = 500, minimum_height = 300,
	maximum_width = 500,

	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=10',
	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 = '#FFFFFF',
	color1 = '#949494',

	own_window_colour = 'brown',
	own_window_transparent = true,

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

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

};

conky.text = [[
${color1}${font Arial:size=12}WEATHER ${hr 2}$color${texeci 500 bash $HOME/Weather_com_conky_script/weather_com}${image $HOME/Weather_com_conky_script/Forecast_Images/now.png -p 0,25 -s 95x95}
${goto 140}${font Arial:size=16}${texeci 600 sed -n '2p' $HOME/Weather_com_conky_script/now}$color1  |  $color${texeci 600 sed -n '1p' $HOME/Weather_com_conky_script/now}°(${texeci 600 sed -n '3p' $HOME/Weather_com_conky_script/now}°)
${goto 140}$color1${font Arial:size=12}MOON: $color${texeci 600 sed -n '17p' $HOME/Weather_com_conky_script/now}
${goto 140}$color1${font}HI / LOW:$color ${texeci 600 sed -n '4p' $HOME/Weather_com_conky_script/now}° / ${texeci 600 sed -n '5p' $HOME/Weather_com_conky_script/now}°$color1  |  WIND:$color ${texeci 600 sed -n '7p' $HOME/Weather_com_conky_script/now}$color1  |  UV INDEX:$color ${texeci 600 sed -n '6p' $HOME/Weather_com_conky_script/now}
${goto 140}${color1}SUNRISE:$color ${texeci 600 sed -n '13p' $HOME/Weather_com_conky_script/now}$color1  |  SUNSET:$color ${texeci 600 sed -n '15p' $HOME/Weather_com_conky_script/now}$color1  |  PRESSURE:$color ${texeci 600 sed -n '10p' $HOME/Weather_com_conky_script/now}
${goto 140}${color1}MOONRISE:$color ${texeci 600 sed -n '19p' $HOME/Weather_com_conky_script/now}$color1  |  MOONSET:$color ${texeci 600 sed -n '21p' $HOME/Weather_com_conky_script/now}$color1  |  VISIBILITY:$color ${texeci 600 sed -n '11p' $HOME/Weather_com_conky_script/now}
${if_match "${texeci 600 sed -n '1p' $HOME/Weather_com_conky_script/10days|awk '{ print $3 }'}" == "Day"}
${image $HOME/Weather_com_conky_script/Forecast_Images/d1.png -p 0,135 -s 50x50}${image $HOME/Weather_com_conky_script/Forecast_Images/d2.png -p 75,135 -s 50x50}${image $HOME/Weather_com_conky_script/Forecast_Images/d3.png -p 150,135 -s 50x50}${image $HOME/Weather_com_conky_script/Forecast_Images/d4.png -p 225,135 -s 50x50}${image $HOME/Weather_com_conky_script/Forecast_Images/d5.png -p 300,135 -s 50x50}${image $HOME/Weather_com_conky_script/Forecast_Images/d6.png -p 375,135 -s 50x50}${image $HOME/Weather_com_conky_script/Forecast_Images/d7.png -p 450,135 -s 50x50}${font Arial:size=8}



$font${color1}${goto 30}${font}${texeci 600 sed -n '1p' $HOME/Weather_com_conky_script/10days|tr a-z A-Z|cut -c1-3}${goto 105}${texeci 600 sed -n '19p' $HOME/Weather_com_conky_script/10days|tr a-z A-Z|cut -c1-3}${goto 180}${texeci 600 sed -n '43p' $HOME/Weather_com_conky_script/10days|tr a-z A-Z|cut -c1-3}${goto 255}${texeci 600 sed -n '67p' $HOME/Weather_com_conky_script/10days|tr a-z A-Z|cut -c1-3}${goto 330}${texeci 600 sed -n '91p' $HOME/Weather_com_conky_script/10days|tr a-z A-Z|cut -c1-3}${goto 405}${texeci 600 sed -n '115p' $HOME/Weather_com_conky_script/10days|tr a-z A-Z|cut -c1-3}${goto 480}${texeci 600 sed -n '139p' $HOME/Weather_com_conky_script/10days|tr a-z A-Z|cut -c1-3}$font$color
${goto 30}${texeci 600 sed -n '2p' $HOME/Weather_com_conky_script/10days}/${texeci 600 sed -n '11p' $HOME/Weather_com_conky_script/10days}${goto 100}${texeci 600 sed -n '20p' $HOME/Weather_com_conky_script/10days}/${texeci 600 sed -n '21p' $HOME/Weather_com_conky_script/10days}${goto 175}${texeci 600 sed -n '44p' $HOME/Weather_com_conky_script/10days}/${texeci 600 sed -n '45p' $HOME/Weather_com_conky_script/10days}${goto 250}${texeci 600 sed -n '68p' $HOME/Weather_com_conky_script/10days}/${texeci 600 sed -n '69p' $HOME/Weather_com_conky_script/10days}${goto 325}${texeci 600 sed -n '92p' $HOME/Weather_com_conky_script/10days}/${texeci 600 sed -n '93p' $HOME/Weather_com_conky_script/10days}${goto 400}${texeci 600 sed -n '116p' $HOME/Weather_com_conky_script/10days}/${texeci 600 sed -n '117p' $HOME/Weather_com_conky_script/10days}${goto 475}${texeci 600 sed -n '140p' $HOME/Weather_com_conky_script/10days}/${texeci 600 sed -n '141p' $HOME/Weather_com_conky_script/10days}${else}
${image $HOME/Weather_com_conky_script/Forecast_Images/d1.png -p 0,135 -s 50x50}${image $HOME/Weather_com_conky_script/Forecast_Images/d2.png -p 75,135 -s 50x50}${image $HOME/Weather_com_conky_script/Forecast_Images/d3.png -p 150,135 -s 50x50}${image $HOME/Weather_com_conky_script/Forecast_Images/d4.png -p 225,135 -s 50x50}${image $HOME/Weather_com_conky_script/Forecast_Images/d5.png -p 300,135 -s 50x50}${image $HOME/Weather_com_conky_script/Forecast_Images/d6.png -p 375,135 -s 50x50}${image $HOME/Weather_com_conky_script/Forecast_Images/d7.png -p 450,135 -s 50x50}${font Arial:size=8}



$font${color1}${goto 30}${font}TON${goto 105}${texeci 600 sed -n '10p' $HOME/Weather_com_conky_script/10days|tr a-z A-Z|cut -c1-3}${goto 180}${texeci 600 sed -n '34p' $HOME/Weather_com_conky_script/10days|tr a-z A-Z|cut -c1-3}${goto 255}${texeci 600 sed -n '58p' $HOME/Weather_com_conky_script/10days|tr a-z A-Z|cut -c1-3}${goto 330}${texeci 600 sed -n '82p' $HOME/Weather_com_conky_script/10days|tr a-z A-Z|cut -c1-3}${goto 405}${texeci 600 sed -n '106p' $HOME/Weather_com_conky_script/10days|tr a-z A-Z|cut -c1-3}${goto 480}${texeci 600 sed -n '130p' $HOME/Weather_com_conky_script/10days|tr a-z A-Z|cut -c1-3}$font$color
${goto 30}--°/${texeci 600 sed -n '2p' $HOME/Weather_com_conky_script/10days}${goto 100}${texeci 600 sed -n '11p' $HOME/Weather_com_conky_script/10days}/${texeci 600 sed -n '12p' $HOME/Weather_com_conky_script/10days}${goto 175}${texeci 600 sed -n '35p' $HOME/Weather_com_conky_script/10days}/${texeci 600 sed -n '36p' $HOME/Weather_com_conky_script/10days}${goto 250}${texeci 600 sed -n '59p' $HOME/Weather_com_conky_script/10days}/${texeci 600 sed -n '60p' $HOME/Weather_com_conky_script/10days}${goto 325}${texeci 600 sed -n '83p' $HOME/Weather_com_conky_script/10days}/${texeci 600 sed -n '84p' $HOME/Weather_com_conky_script/10days}${goto 400}${texeci 600 sed -n '107p' $HOME/Weather_com_conky_script/10days}/${texeci 600 sed -n '108p' $HOME/Weather_com_conky_script/10days}${goto 475}${texeci 600 sed -n '131p' $HOME/Weather_com_conky_script/10days}/${texeci 600 sed -n '132p' $HOME/Weather_com_conky_script/10days}${endif}
${image $HOME/Weather_com_conky_script/Forecast_Images/h1.png -p 5,225 -s 35x35}${image $HOME/Weather_com_conky_script/Forecast_Images/h2.png -p 51,225 -s 35x35}${image $HOME/Weather_com_conky_script/Forecast_Images/h3.png -p 97,225 -s 35x35}${image $HOME/Weather_com_conky_script/Forecast_Images/h4.png -p 143,225 -s 35x35}${image $HOME/Weather_com_conky_script/Forecast_Images/h5.png -p 189,225 -s 35x35}${image $HOME/Weather_com_conky_script/Forecast_Images/h6.png -p 235,225 -s 35x35}${image $HOME/Weather_com_conky_script/Forecast_Images/h7.png -p 281,225 -s 35x35}${image $HOME/Weather_com_conky_script/Forecast_Images/h8.png -p 327,225 -s 35x35}${image $HOME/Weather_com_conky_script/Forecast_Images/h9.png -p 373,225 -s 35x35}${image $HOME/Weather_com_conky_script/Forecast_Images/h10.png -p 419,225 -s 35x35}${image $HOME/Weather_com_conky_script/Forecast_Images/h11.png -p 460,225 -s 35x35}


${goto 25}${font Arial:size=8}${color1}${texeci 600 sed -n '1p' $HOME/Weather_com_conky_script/hourly}${goto 71}${texeci 600 sed -n '10p' $HOME/Weather_com_conky_script/hourly}${goto 117}${texeci 600 sed -n '19p' $HOME/Weather_com_conky_script/hourly}${goto 163}${texeci 600 sed -n '28p' $HOME/Weather_com_conky_script/hourly}${goto 209}${texeci 600 sed -n '37p' $HOME/Weather_com_conky_script/hourly}${goto 255}${texeci 600 sed -n '46p' $HOME/Weather_com_conky_script/hourly}${goto 301}${texeci 600 sed -n '55p' $HOME/Weather_com_conky_script/hourly}${goto 347}${texeci 600 sed -n '64p' $HOME/Weather_com_conky_script/hourly}${goto 393}${texeci 600 sed -n '73p' $HOME/Weather_com_conky_script/hourly}${goto 439}${texeci 600 sed -n '82p' $HOME/Weather_com_conky_script/hourly}${goto 485}${texeci 600 sed -n '91p' $HOME/Weather_com_conky_script/hourly}$color
${goto 30}${texeci 600 sed -n '2p' $HOME/Weather_com_conky_script/hourly}${goto 76}${texeci 600 sed -n '11p' $HOME/Weather_com_conky_script/hourly}${goto 122}${texeci 600 sed -n '20p' $HOME/Weather_com_conky_script/hourly}${goto 168}${texeci 600 sed -n '29p' $HOME/Weather_com_conky_script/hourly}${goto 214}${texeci 600 sed -n '38p' $HOME/Weather_com_conky_script/hourly}${goto 260}${texeci 600 sed -n '47p' $HOME/Weather_com_conky_script/hourly}${goto 306}${texeci 600 sed -n '56p' $HOME/Weather_com_conky_script/hourly}${goto 352}${texeci 600 sed -n '65p' $HOME/Weather_com_conky_script/hourly}${goto 398}${texeci 600 sed -n '74p' $HOME/Weather_com_conky_script/hourly}${goto 442}${texeci 600 sed -n '83p' $HOME/Weather_com_conky_script/hourly}${goto 490}${texeci 600 sed -n '92p' $HOME/Weather_com_conky_script/hourly}
${color1}${hr 2}
]];

weather_com_conkyrc_ceeslans_1920x1080

----------------------------------------------------------------------
-- WetterCom-Conky ---------------------------------------------------
-- after a design idea from 2015 by @Sector11 ------------------------
-- conky.conf author @unklar 2020-03----------------------------------
-- https://forums.mageia.org/de/download/file.php?id=1352&mode=view --
-- modified @ceeslans 2020-06-----------------------------------------
----------------------------------------------------------------------

conky.config = {

	update_interval = 1,
	double_buffer = true,
	no_buffers = true,
	imlib_cache_size = 0,
	imlib_cache_flush_interval = 900,
	max_user_text = 48552,
	use_spacer = 'none',
	
	own_window = true,
	own_window_type = 'override',
	own_window_transparent = true,
	own_window_hints = 'undecorated,below,skip_taskbar,skip_pager',

	draw_shades = false,
	default_shade_color = '303030',
	draw_outline = false,
	draw_borders = false,
	stippled_borders = 0,
	draw_graph_borders = false,
	border_inner_margin = 10,
	border_outer_margin = 0,
	border_width = 0,

	use_xft = true,
	font = 'Droid Sans:size=7',	
	xftalpha = 1.0,
	--override_utf8_locale = true,
	uppercase = false,

	minimum_width = 160, 
	maximum_width = 160,
		-- minimum_height = 650,
	gap_x = 10, 
	gap_y = 50, 	
	alignment = 'top_right',

	default_color = 'ffffff',
	--default_color = '151515',
	
	color1 = 'E0FFFF',  --#light cyan
	--color1 = '2C3D3D',  --#dark cyan
	--color1 = 'grey',

};

conky.text = [[
### TITLE/SCRIPT ###
${voffset 10}${color1}${font Droid Sans:size=8:weight=bold}${alignr}WEATHER.COM\
${color}${texeci 500 bash $HOME/Weather_com_conky_script/weather_com}
### CURRENT ###
${voffset 10}${image $HOME/Weather_com_conky_script/Forecast_Images/now.png -p -0,0 -s 60x60}\
${font Droid Sans:size=7:weight=bold}${goto 75}${color1}${texeci 600 sed -n '1p' $HOME/Weather_com_conky_script/10days}\
${font Droid Sans:size=7:weight=bold}${alignr}${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)
${alignr 2}${texeci 600 sed -n '2p' $HOME/Weather_com_conky_script/now}${font}
### DETAILED CURRENT ###
${voffset 10}${font Droid Sans:size=8}\
${color1}Moon${color}${alignr} ${texeci 600 sed -n '17p' $HOME/Weather_com_conky_script/now}
${color1}Temp ${font Arial:size=8}↑↓${color}${font Droid Sans:size=8}${alignr} ${texeci 600 sed -n '4p' $HOME/Weather_com_conky_script/now}° / ${texeci 600 sed -n '5p' $HOME/Weather_com_conky_script/now}°
${color1}Wind${color}${alignr} ${texeci 600 sed -n '7p' $HOME/Weather_com_conky_script/now}
${color1}Pressure${color}${alignr} ${texeci 600 sed -n '10p' $HOME/Weather_com_conky_script/now}
${color1}Humidity${color}${alignr} ${texeci 600 sed -n '8p' $HOME/Weather_com_conky_script/now}
${color1}Sun ${font Arial:size=8}↑↓${color}${font Droid Sans:size=8}${alignr} ${texeci 600 sed -n '13p' $HOME/Weather_com_conky_script/now} / ${texeci 600 sed -n '15p' $HOME/Weather_com_conky_script/now}
${color1}Moon ${font Arial:size=8}↑↓${color}${font Droid Sans:size=8}${alignr} ${texeci 600 sed -n '19p' $HOME/Weather_com_conky_script/now} / ${texeci 600 sed -n '21p' $HOME/Weather_com_conky_script/now}
${color1}Visibility${color}${alignr} ${texeci 600 sed -n '11p' $HOME/Weather_com_conky_script/now}
${color1}UV index${color}${alignr} ${texeci 600 sed -n '6p' $HOME/Weather_com_conky_script/now}
### ICONS HOURLY FORECAST ###
${image $HOME/Weather_com_conky_script/vbar.png -p 85,212 -s 1x324}\
${voffset 8}${alignc -40}${font Droid Sans:size=9:weight=bold}${color1}${time %H:%M}${font}${goto 10}${color}daily ${alignr}hourly
${voffset -2}${color3}${swapbar 0,160}${color}${voffset -12}
${image $HOME/Weather_com_conky_script/Forecast_Images/h2.png -p 95,218 -s 24x24}\
${image $HOME/Weather_com_conky_script/Forecast_Images/h3.png -p 95,254 -s 24x24}\
${image $HOME/Weather_com_conky_script/Forecast_Images/h4.png -p 95,290 -s 24x24}\
${image $HOME/Weather_com_conky_script/Forecast_Images/h5.png -p 95,326 -s 24x24}\
${image $HOME/Weather_com_conky_script/Forecast_Images/h6.png -p 95,362 -s 24x24}\
${image $HOME/Weather_com_conky_script/Forecast_Images/h7.png -p 95,398 -s 24x24}\
${image $HOME/Weather_com_conky_script/Forecast_Images/h8.png -p 95,434 -s 24x24}\
${image $HOME/Weather_com_conky_script/Forecast_Images/h9.png -p 95,470 -s 24x24}\
${image $HOME/Weather_com_conky_script/Forecast_Images/h10.png -p 95,506 -s 24x24}\
### 10DAYS/HOURLY FORECAST --> IF MATCH == TODAY ###
${if_match "${texeci 600 sed -n '1p' $HOME/Weather_com_conky_script/10days|awk '{ print $3 }'}" == "Day"}
${alignr 60}${color1}${execi 3600 date  --date='1 day' '+%a.%e'}${alignr}${texeci 600 sed -n '1p' $HOME/Weather_com_conky_script/hourly} h
${alignr 75}${color}${texeci 600 sed -n '20p' $HOME/Weather_com_conky_script/10days}/${texeci 600 sed -n '21p' $HOME/Weather_com_conky_script/10days}\
${goto 150}${texeci 600 sed -n '2p' $HOME/Weather_com_conky_script/hourly}
${color3}${swapbar 0,160}
${alignr 60}${color1}${execi 3600 date  --date='2 day' '+%a.%e'}${alignr}${texeci 600 sed -n '10p' $HOME/Weather_com_conky_script/hourly} h
${alignr 75}${color}${texeci 600 sed -n '44p' $HOME/Weather_com_conky_script/10days}/${texeci 600 sed -n '45p' $HOME/Weather_com_conky_script/10days}\
${goto 150}${texeci 600 sed -n '11p' $HOME/Weather_com_conky_script/hourly}
${color3}${swapbar 0,160}
${alignr 60}${color1}${execi 3600 date  --date='3 day' '+%a.%e'}${alignr}${texeci 600 sed -n '19p' $HOME/Weather_com_conky_script/hourly} h
${alignr 75}${color}${texeci 600 sed -n '68p' $HOME/Weather_com_conky_script/10days}/${texeci 600 sed -n '69p' $HOME/Weather_com_conky_script/10days}\
${goto 150}${texeci 600 sed -n '20p' $HOME/Weather_com_conky_script/hourly}
${color3}${swapbar 0,160}
${alignr 60}${color1}${execi 3600 date  --date='4 day' '+%a.%e'}${alignr}${texeci 600 sed -n '28p' $HOME/Weather_com_conky_script/hourly} h
${alignr 75}${color}${texeci 600 sed -n '92p' $HOME/Weather_com_conky_script/10days}/${texeci 600 sed -n '93p' $HOME/Weather_com_conky_script/10days}\
${goto 150}${texeci 600 sed -n '29p' $HOME/Weather_com_conky_script/hourly}
${color3}${swapbar 0,160}
${alignr 60}${color1}${execi 3600 date  --date='5 day' '+%a.%e'}${alignr}${texeci 600 sed -n '37p' $HOME/Weather_com_conky_script/hourly} h
${alignr 75}${color}${texeci 600 sed -n '116p' $HOME/Weather_com_conky_script/10days}/${texeci 600 sed -n '117p' $HOME/Weather_com_conky_script/10days}\
${goto 150}${texeci 600 sed -n '38p' $HOME/Weather_com_conky_script/hourly}
${color3}${swapbar 0,160}
${alignr 60}${color1}${execi 3600 date  --date='6 day' '+%a.%e'}${alignr}${texeci 600 sed -n '46p' $HOME/Weather_com_conky_script/hourly} h
${alignr 75}${color}${texeci 600 sed -n '140p' $HOME/Weather_com_conky_script/10days}/${texeci 600 sed -n '141p' $HOME/Weather_com_conky_script/10days}\
${goto 150}${texeci 600 sed -n '47p' $HOME/Weather_com_conky_script/hourly}
${color3}${swapbar 0,160}
${alignr 60}${color1}${execi 3600 date  --date='7 day' '+%a.%e'}${alignr}${texeci 600 sed -n '55p' $HOME/Weather_com_conky_script/hourly} h
${alignr 75}${color}${texeci 600 sed -n '164p' $HOME/Weather_com_conky_script/10days}/${texeci 600 sed -n '165p' $HOME/Weather_com_conky_script/10days}\
${goto 150}${texeci 600 sed -n '56p' $HOME/Weather_com_conky_script/hourly}
${color3}${swapbar 0,160}
${alignr 60}${color1}${execi 3600 date  --date='8 day' '+%a.%e'}${alignr}${texeci 600 sed -n '64p' $HOME/Weather_com_conky_script/hourly} h
${alignr 75}${color}${texeci 600 sed -n '188p' $HOME/Weather_com_conky_script/10days}/${texeci 600 sed -n '189p' $HOME/Weather_com_conky_script/10days}\
${goto 150}${texeci 600 sed -n '65p' $HOME/Weather_com_conky_script/hourly}
${color3}${swapbar 0,160}
${alignr 60}${color1}${execi 3600 date  --date='9 day' '+%a.%e'}${alignr}${texeci 600 sed -n '73p' $HOME/Weather_com_conky_script/hourly} h
${alignr 75}${color}${texeci 600 sed -n '212p' $HOME/Weather_com_conky_script/10days}/${texeci 600 sed -n '213p' $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 5,218 -s 24x24}\
${image $HOME/Weather_com_conky_script/Forecast_Images/d3.png -p 5,254 -s 24x24}\
${image $HOME/Weather_com_conky_script/Forecast_Images/d4.png -p 5,290 -s 24x24}\
${image $HOME/Weather_com_conky_script/Forecast_Images/d5.png -p 5,326 -s 24x24}\
${image $HOME/Weather_com_conky_script/Forecast_Images/d6.png -p 5,362 -s 24x24}\
${image $HOME/Weather_com_conky_script/Forecast_Images/d7.png -p 5,398 -s 24x24}\
${image $HOME/Weather_com_conky_script/Forecast_Images/d8.png -p 5,434 -s 24x24}\
${image $HOME/Weather_com_conky_script/Forecast_Images/d9.png -p 5,470 -s 24x24}\
${image $HOME/Weather_com_conky_script/Forecast_Images/d10.png -p 5,506 -s 24x24}\
${color3}${swapbar 0,160}${color1}${voffset 8}
${font Droid Sans:size=8:weight=bold}${color1}TODAY${font}
${font Droid Sans:size=8}${color}${texeci 600 sed -n '5p' $HOME/Weather_com_conky_script/10days | fold -s30}${voffset 7}
${font Droid Sans:size=8:weight=bold}${color1}TOMORROW${font}
${font Droid Sans:size=8}${color}${texeci 600 sed -n '29p' $HOME/Weather_com_conky_script/10days | fold -s30}
### 10DAYS/HOURLY FORECAST --> ELSE ###
${else}
${alignr 60}${color1}${execi 3600 date  --date='0 day' '+%a.%e'}${alignr}${texeci 600 sed -n '1p' $HOME/Weather_com_conky_script/hourly} h
${alignr 75}${color}${texeci 600 sed -n '11p' $HOME/Weather_com_conky_script/10days}/${texeci 600 sed -n '12p' $HOME/Weather_com_conky_script/10days}\
${goto 150}${texeci 600 sed -n '2p' $HOME/Weather_com_conky_script/hourly}
${color3}${swapbar 0,160}
${alignr 60}${color1}${execi 3600 date  --date='1 day' '+%a.%e'}${alignr}${texeci 600 sed -n '10p' $HOME/Weather_com_conky_script/hourly} h
${alignr 75}${color}${texeci 600 sed -n '35p' $HOME/Weather_com_conky_script/10days}/${texeci 600 sed -n '36p' $HOME/Weather_com_conky_script/10days}\
${goto 150}${texeci 600 sed -n '11p' $HOME/Weather_com_conky_script/hourly}
${color3}${swapbar 0,160}
${alignr 60}${color1}${execi 3600 date  --date='2 day' '+%a.%e'}${alignr}${texeci 600 sed -n '19p' $HOME/Weather_com_conky_script/hourly} h
${alignr 75}${color}${texeci 600 sed -n '59p' $HOME/Weather_com_conky_script/10days}/${texeci 600 sed -n '60p' $HOME/Weather_com_conky_script/10days}\
${goto 150}${texeci 600 sed -n '20p' $HOME/Weather_com_conky_script/hourly}
${color3}${swapbar 0,160}
${alignr 60}${color1}${execi 3600 date  --date='3 day' '+%a.%e'}${alignr}${texeci 600 sed -n '28p' $HOME/Weather_com_conky_script/hourly} h
${alignr 75}${color}${texeci 600 sed -n '83p' $HOME/Weather_com_conky_script/10days}/${texeci 600 sed -n '84p' $HOME/Weather_com_conky_script/10days}\
${goto 150}${texeci 600 sed -n '29p' $HOME/Weather_com_conky_script/hourly}
${color3}${swapbar 0,160}
${alignr 60}${color1}${execi 3600 date  --date='4 day' '+%a.%e'}${alignr}${texeci 600 sed -n '37p' $HOME/Weather_com_conky_script/hourly} h
${alignr 75}${color}${texeci 600 sed -n '107p' $HOME/Weather_com_conky_script/10days}/${texeci 600 sed -n '108p' $HOME/Weather_com_conky_script/10days}\
${goto 150}${texeci 600 sed -n '38p' $HOME/Weather_com_conky_script/hourly}
${color3}${swapbar 0,160}
${alignr 60}${color1}${execi 3600 date  --date='5 day' '+%a.%e'}${alignr}${texeci 600 sed -n '46p' $HOME/Weather_com_conky_script/hourly} h
${alignr 75}${color}${texeci 600 sed -n '131p' $HOME/Weather_com_conky_script/10days}/${texeci 600 sed -n '132p' $HOME/Weather_com_conky_script/10days}\
${goto 150}${texeci 600 sed -n '47p' $HOME/Weather_com_conky_script/hourly}
${color3}${swapbar 0,160}
${alignr 60}${color1}${execi 3600 date  --date='6 day' '+%a.%e'}${alignr}${texeci 600 sed -n '55p' $HOME/Weather_com_conky_script/hourly} h
${alignr 75}${color}${texeci 600 sed -n '155p' $HOME/Weather_com_conky_script/10days}/${texeci 600 sed -n '156p' $HOME/Weather_com_conky_script/10days}\
${goto 150}${texeci 600 sed -n '56p' $HOME/Weather_com_conky_script/hourly}
${color3}${swapbar 0,160}
${alignr 60}${color1}${execi 3600 date  --date='7 day' '+%a.%e'}${alignr}${texeci 600 sed -n '64p' $HOME/Weather_com_conky_script/hourly} h
${alignr 75}${color}${texeci 600 sed -n '179p' $HOME/Weather_com_conky_script/10days}/${texeci 600 sed -n '180p' $HOME/Weather_com_conky_script/10days}\
${goto 150}${texeci 600 sed -n '65p' $HOME/Weather_com_conky_script/hourly}
${color3}${swapbar 0,160}
${alignr 60}${color1}${execi 3600 date  --date='8 day' '+%a.%e'}${alignr}${texeci 600 sed -n '73p' $HOME/Weather_com_conky_script/hourly} h
${alignr 75}${color}${texeci 600 sed -n '203p' $HOME/Weather_com_conky_script/10days}/${texeci 600 sed -n '204p' $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 5,218 -s 24x24}\
${image $HOME/Weather_com_conky_script/Forecast_Images/d3.png -p 5,254 -s 24x24}\
${image $HOME/Weather_com_conky_script/Forecast_Images/d4.png -p 5,290 -s 24x24}\
${image $HOME/Weather_com_conky_script/Forecast_Images/d5.png -p 5,326 -s 24x24}\
${image $HOME/Weather_com_conky_script/Forecast_Images/d6.png -p 5,362 -s 24x24}\
${image $HOME/Weather_com_conky_script/Forecast_Images/d7.png -p 5,398 -s 24x24}\
${image $HOME/Weather_com_conky_script/Forecast_Images/d8.png -p 5,434 -s 24x24}\
${image $HOME/Weather_com_conky_script/Forecast_Images/d9.png -p 5,470 -s 24x24}\
${image $HOME/Weather_com_conky_script/Forecast_Images/d10.png -p 5,506 -s 24x24}\
${color3}${swapbar 0,160}${color}${voffset 8}
${font Droid Sans:size=8:weight=bold}${color1}TONIGHT${font}
${font Droid Sans:size=8}${color}${texeci 600 sed -n '5p' $HOME/Weather_com_conky_script/10days | fold -s30}${voffset 7}
${font Droid Sans:size=8:weight=bold}${color1}TOMORROW$Font}
${font Droid Sans:size=8}${color}${texeci 600 sed -n '20p' $HOME/Weather_com_conky_script/10days | fold -s30}
${endif}
]];

Guess what: output's changed again in the 10days file, problem?

EDIT: Added one more variable to the script - night=Night
Change according to your language, ie. Nacht, Nuit, Νύχτα, etc.

Last edited by TeoBigusGeekus (2020-08-10 20:13: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

#3662 2020-08-08 01:26:56

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

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

file updated on page 1?

Teo wrote:

Guess what: output's changed again in the 10days file, problem?

GRRRRRR!  Will soon know!

Yes still GRRRRR!!!

More work on my end.


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

Offline

#3663 2020-08-08 02:12:58

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

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

Never mind ... MY OOPS!

It's working  now to format for me  smile


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

Offline

#3664 2020-08-08 07:26:13

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

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

Sorry S11, no script update for the time being, I'll leave it be for some testing and then I'll update everything, including documentation.


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

#3665 2020-08-08 09:47:15

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

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

Hello

As always nice job Théo

for today work great by me just wait for the change for tonight.

Capture-d-cran-2020-08-08-11-45-11.png


@+


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

Offline

#3666 2020-08-08 12:33:32

manuel-909
Member
Registered: 2017-10-09
Posts: 93

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

Working great teo thank you.....

Offline

#3667 2020-08-08 12:57:04

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

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

Thank you both for reporting back


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

#3668 2020-08-08 13:51:48

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

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

Hello

changed for tonight work great again

Capture-d-cran-2020-08-08-15-51-29.png


@+


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

Offline

#3669 2020-08-08 14:38:57

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

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

thnx Teo, all okay now.

Offline

#3670 2020-08-08 20:20:38

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

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

Brilliant, really appreciated guys.


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

#3671 2020-08-09 23:05:29

arof
Member
Registered: 2020-08-09
Posts: 6

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

No, it's not good. The icons for 10 days changed their numbering. For the day are used: d2, d4, d6. In turn, d1, d3, d5 ... are for the night.
Presumably, after switching to day mode, the opposite is true. Otherwise, you have a moon every other day. Additionally, for 10 days it is worth changing "for ((i = 1; i <= 15; i + = 1))" to "for ((i = 1; i <= 20; i + = 1))" in the script, because without of this, icons are only downloaded for 7 consecutive days.
Zrzut-ekranu-z-2020-08-10-01-16-07.png

Last edited by arof (2020-08-09 23:22:38)

Offline

#3672 2020-08-10 13:29:04

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

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

@arof,

I see wonderful work. You use the "HTCSpill-Conky" as a basis for your weather.com editions. Awesome!  smile

That this doesn't work properly is because in the meantime these weather frogs have "built" their weather page again after the release of the new script by Teo.


I wonder if Teo is not getting fed up with this. I wouldn't blame him.
You gotta start putting these "Americans" into skat...

Skat is a German card game invented in Altenburg, mainly among men.   devil

Offline

#3673 2020-08-10 15:47:20

arof
Member
Registered: 2020-08-09
Posts: 6

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

I know it. Teo does an amazing job. I rely on his scripts, sometimes I modify them slightly. For me, after changing the numbering of pictures, weather.com is already working well. In conkyrc I did two sections - if the first line of 10days contains the word "night", the "night" section is executed. If not, the "day" section is executed.

I am using the HTC-spill Conky 10 days extended as a base for Wunderground and Accuweather as well.

Offline

#3674 2020-08-10 17:17:25

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

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

I've noticed it as well guys.
The problem exists only with the non english versions of the scripts (German, French, Greek, etc.).
I'll see what I can do.


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

#3675 2020-08-10 17:31:40

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

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

hello

AAAAAAAAAAAHHHAH this explains a lot


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

Offline

Board footer

Powered by FluxBB