From 7e3da1626274fa96618786c673f3017ddd82835d Mon Sep 17 00:00:00 2001 From: Dane Williams Date: Sun, 15 Mar 2020 11:49:00 -0700 Subject: [PATCH] tructus --- sleep_weather.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/sleep_weather.sh b/sleep_weather.sh index fc82480..67350e9 100755 --- a/sleep_weather.sh +++ b/sleep_weather.sh @@ -7,11 +7,11 @@ main() while tmux has-session &> /dev/null do ./weather.sh > ~/.tmux/plugins/tmux-dracula/weather.txt - error=$(cat ~/.tmux/plugins/tmux-dracula/weather.txt | sed -n 2p) - if [ $error = ' "error": {' ]; then - echo "Too Many Requests" > ~/.tmux/plugins/tmux-dracula/weather.txt - break - fi + # error=$(cat ~/.tmux/plugins/tmux-dracula/weather.txt | sed -n 2p) + # if [ $error = ' "error": {' ]; then + # echo "Too Many Requests" > ~/.tmux/plugins/tmux-dracula/weather.txt + # break + # fi sleep 1000 done }