rssViedos mostly

This commit is contained in:
Geoffrey Frogeye 2020-12-27 14:20:44 +01:00
parent ceb1e40964
commit 709239dfca
Signed by: geoffrey
GPG key ID: C72403E7F82E6AD8
17 changed files with 479 additions and 111 deletions

View file

@ -1,7 +1,7 @@
#!/usr/bin/env bash
# change Paris to your default location
request="v2.wttr.in/$1"
request="v2.wttr.in/${1-Amsterdam}"
[ "$(tput cols)" -lt 125 ] && request+='?n'
curl -H "Accept-Language: ${LANG%_*}" --compressed "$request"