Polybar: Tell weather module to use HTTPS

I'm retarded.
This commit is contained in:
Salt 2017-09-13 21:03:47 -05:00
parent 5a71213cc8
commit b22403eacd

View File

@ -3,7 +3,7 @@
source $HOME/.config/polybar/location.sh
# write xml to variable
w_xml=$(curl --silent "http://weather.tuxnet24.de/?id=$location&mode=xml&unit=imperial");
w_xml=$(curl --silent "https://weather.tuxnet24.de/?id=$location&mode=xml&unit=imperial");
# get fields from xml via xmllint | xargs for trimming
# weather description
w_txt=$(xmllint --xpath "string(//current_text)" - <<<"$w_xml" | xargs);