From fb1ec373daf5d1997a3f390d4518991c486fac07 Mon Sep 17 00:00:00 2001 From: Dane Williams Date: Sat, 14 Mar 2020 21:46:56 -0700 Subject: [PATCH] weather should work --- dracula.tmux | 7 ++++--- weather.txt | 7 +------ 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/dracula.tmux b/dracula.tmux index bd3a4ad..9c64dc7 100755 --- a/dracula.tmux +++ b/dracula.tmux @@ -37,8 +37,9 @@ main() # message styling tmux set-option -g message-style "bg=${gray},fg=${white}" - # run weather script in background - ./sleep_weather.sh > weather.txt & + # run scripts in background + #./sleep_weather.sh > weather.txt & + #./internet.sh > internet.txt & # status bar tmux set-option -g status-style "bg=${gray},fg=${white}" @@ -47,7 +48,7 @@ main() tmux set-option -g status-right "#[fg=${dark_gray},bg=${pink}] #(~/.tmux/plugins/tmux-dracula/battery.sh) " tmux set-option -ga status-right "#[fg=${dark_gray},bg=${cyan}] tructus " - tmux set-option -ga status-right "#[fg=${dark_gray},bg=${orange}] #(cat weather.txt) " + tmux set-option -ga status-right "#[fg=${dark_gray},bg=${orange}] #(cat ~/.tmux/plugins/tmux-dracula/weather.txt) " tmux set-option -ga status-right "#[fg=${white},bg=${dark_purple}] %a %m/%d %I:%M %p #(date +%Z) " # window tabs diff --git a/weather.txt b/weather.txt index 87fcd32..2b6210b 100644 --- a/weather.txt +++ b/weather.txt @@ -1,6 +1 @@ - { - "error": { - "title": "Rate limit exceeded", - "message": "You've hit the daily limit for the unauthenticated API. Create an API access token by signing up to get 50k req/month." - } -}, { "error": { "title": "Rate limit exceeded", "message": "You've hit the daily limit for the unauthenticated API. Create an API access token by signing up to get 50k req/month." } } +Pleasanton, CA