From 634f5c5edad017708354c3640abb92b92a54d527 Mon Sep 17 00:00:00 2001 From: Dane Williams Date: Sun, 15 Mar 2020 10:41:04 -0700 Subject: [PATCH] trying again --- dracula.tmux | 2 ++ sleep_weather.sh | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/dracula.tmux b/dracula.tmux index 8f3a4be..e146e6f 100755 --- a/dracula.tmux +++ b/dracula.tmux @@ -38,6 +38,8 @@ main() tmux set-option -g message-style "bg=${gray},fg=${white}" # run scripts in background + echo "Loading Weather..." > ~/.tmux/plugins/tmux-dracula/weather.txt & + ./weather.sh > ~/.tmux/plugins/tmux-dracula/weather.txt & ./sleep_weather.sh & # status bar diff --git a/sleep_weather.sh b/sleep_weather.sh index ba7ae76..183f49c 100755 --- a/sleep_weather.sh +++ b/sleep_weather.sh @@ -4,7 +4,6 @@ main() { - echo "Loading Weather..." > ~/.tmux/plugins/tmux-dracula/weather.txt while tmux has-session &> /dev/null do ./weather.sh > ~/.tmux/plugins/tmux-dracula/weather.txt