add dwl (downloader wrapper) and make use of it, fixed myextip
This commit is contained in:
@@ -104,7 +104,7 @@ meteo()
|
||||
|
||||
for city in "${cities[@]}"; do
|
||||
encoded=$(urlencode "$city")
|
||||
curl -s "https://wttr.in/$encoded" || \
|
||||
dwl "https://wttr.in/$encoded" || \
|
||||
disp E "Failed fetching datas for $city."
|
||||
done
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user