From 8e5c11d79e46b973ca400e54eafb43082fe7e480 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=A7=E5=92=8C=E3=81=A7=E3=81=AA=E3=82=8A?= Date: Mon, 14 May 2018 21:18:37 +0800 Subject: [PATCH] Update i3weather --- .scripts/i3weather | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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')