summaryrefslogtreecommitdiffstats
path: root/.scripts
diff options
context:
space:
mode:
author大和でなり <daenarii@protonmail.com>2018-05-14 21:18:37 +0800
committerGitHub <noreply@github.com>2018-05-14 21:18:37 +0800
commit8e5c11d79e46b973ca400e54eafb43082fe7e480 (patch)
tree087ef9b61481999bb7e24c17cc885b094527e5fe /.scripts
parent9e27c7a4ac117120805912f4fbd820bde9f94fc7 (diff)
downloadeibhear-8e5c11d79e46b973ca400e54eafb43082fe7e480.tar.gz
eibhear-8e5c11d79e46b973ca400e54eafb43082fe7e480.tar.zst
eibhear-8e5c11d79e46b973ca400e54eafb43082fe7e480.zip
Update i3weather
Diffstat (limited to '.scripts')
-rwxr-xr-x.scripts/i3weather2
1 files changed, 1 insertions, 1 deletions
diff --git a/.scripts/i3weather b/.scripts/i3weather
index 0f98b35..3000b8a 100755
--- a/.scripts/i3weather
+++ b/.scripts/i3weather
@@ -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')