aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/.local/bin/weath
blob: 52f48a7727284f4fee157d21ed34b0fcf35a3300 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh

location="Saint-Petersburg"
v=1

[ -n "$1" ] && v=$1
[ -n "$2" ] && location=$2

curl "v$v.wttr.in/$location"