trying again

This commit is contained in:
Dane Williams 2020-03-15 10:41:04 -07:00
parent 6a1277726a
commit 634f5c5eda
2 changed files with 2 additions and 1 deletions

View file

@ -38,6 +38,8 @@ main()
tmux set-option -g message-style "bg=${gray},fg=${white}" tmux set-option -g message-style "bg=${gray},fg=${white}"
# run scripts in background # run scripts in background
echo "Loading Weather..." > ~/.tmux/plugins/tmux-dracula/weather.txt &
./weather.sh > ~/.tmux/plugins/tmux-dracula/weather.txt &
./sleep_weather.sh & ./sleep_weather.sh &
# status bar # status bar

View file

@ -4,7 +4,6 @@
main() main()
{ {
echo "Loading Weather..." > ~/.tmux/plugins/tmux-dracula/weather.txt
while tmux has-session &> /dev/null while tmux has-session &> /dev/null
do do
./weather.sh > ~/.tmux/plugins/tmux-dracula/weather.txt ./weather.sh > ~/.tmux/plugins/tmux-dracula/weather.txt