From a9ff1f56c75cb6e8836d59ea71324456e793a2b3 Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Thu, 2 May 2019 20:25:45 -0400 Subject: [PATCH] weather fix --- .scripts/statusbar/weather | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.scripts/statusbar/weather b/.scripts/statusbar/weather index e298bda..e4de680 100755 --- a/.scripts/statusbar/weather +++ b/.scripts/statusbar/weather @@ -1,5 +1,5 @@ #!/bin/sh -location="$1"; [ -z "$location" ] || location="$location+" && rm -f "$HOME/.local/share/weatherreport" +location="$1"; [ -z "$location" ] || { location="$location+" && rm -f "$HOME/.local/share/weatherreport" ;} getforecast() { ping -q -c 1 1.1.1.1 >/dev/null || exit 1 curl -s "wttr.in/$location" > "$HOME/.local/share/weatherreport" || exit 1 ;}