From f929834adc8c923e51f84c78a7a49933d8a6203b Mon Sep 17 00:00:00 2001 From: Dane Williams Date: Sun, 15 Mar 2020 12:59:20 -0700 Subject: [PATCH] sdfsd --- sleep_weather.sh | 3 ++- weather.sh | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/sleep_weather.sh b/sleep_weather.sh index dad1086..aac0d3f 100755 --- a/sleep_weather.sh +++ b/sleep_weather.sh @@ -7,7 +7,8 @@ main() while true do ./weather.sh > ~/.tmux/plugins/tmux-dracula/weather.txt - if tmux has-session &> /dev/null; then + if tmux has-session &> /dev/null + then sleep 1000 else break diff --git a/weather.sh b/weather.sh index 1903cd0..b262688 100755 --- a/weather.sh +++ b/weather.sh @@ -49,7 +49,7 @@ forecast_unicode() display_weather() { if [ $country = 'US' ]; then - echo " $(forecast_unicode)$(get_temp)°F" + echo "$(forecast_unicode)$(get_temp)°F" else echo '' fi