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