From b22403eacda804605d1ac8eb06cfbef2e0ccb5a4 Mon Sep 17 00:00:00 2001 From: Salt Date: Wed, 13 Sep 2017 21:03:47 -0500 Subject: [PATCH] Polybar: Tell weather module to use HTTPS I'm retarded. --- .config/polybar/weather.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/polybar/weather.sh b/.config/polybar/weather.sh index a9b45f94..815b0a7b 100755 --- a/.config/polybar/weather.sh +++ b/.config/polybar/weather.sh @@ -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);