Update i3weather
This commit is contained in:
parent
9e27c7a4ac
commit
8e5c11d79e
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ if [[ "$location" != "" ]]
|
||||||
then
|
then
|
||||||
location="~${location// /+}"
|
location="~${location// /+}"
|
||||||
fi
|
fi
|
||||||
curl wttr.in/$location > ~/.weatherreport
|
curl -s wttr.in/$location > ~/.weatherreport
|
||||||
|
|
||||||
echo -n ☔ $(cat ~/.weatherreport | sed -n 16p | sed -e 's/[^m]*m//g' | grep -o "[0-9]*%" | sort -n | sed -e '$!d')
|
echo -n ☔ $(cat ~/.weatherreport | sed -n 16p | sed -e 's/[^m]*m//g' | grep -o "[0-9]*%" | sort -n | sed -e '$!d')
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue