Update i3weather

This commit is contained in:
大和でなり 2018-05-14 21:18:37 +08:00 committed by GitHub
parent 9e27c7a4ac
commit 8e5c11d79e

View file

@ -10,7 +10,7 @@ if [[ "$location" != "" ]]
then
location="~${location// /+}"
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')