Display local weather in your status line.
Results are cached in ~/.tmux-weather
for 15 minutes by default.
Make sure you have Tmux Plugin Manager and jq installed.
Then add the plugin to ~/.tmux.conf
:
set -g @plugin 'dstokes/tmux-weather'
Load the plugin with prefix + I
.
Get a free API key from DarkSky: https://darksky.net/dev
Store it in ~/.config/tmux-weather/key
set -g status-right "#{weather}"