Each block is an hour.
Requires: python3
Create a configuration file in $HOME/.tmux-darksky
:
# only the key is required
[general]
hours = 12
location = 14.5833,120.9667
key = your_darksky_api_key
[colors]
BG = 235
UNSET = 196
Sunny = 255
Refer to index.py for known predictions and default colors.
Add the plugin via tpm and install:
set -g @plugin 'hmngwy/tmux-darksky'
Add #{darksky}
to your status line.