Adds current weather and temperature to tmux.
#{weather}
placeholder for the status line. Displays an icon representing the current weather at the current location, based on the IP address.
Clone the repo:
$ git clone https://github.com/fxg42/tmux-weather ~/clone/path
Create file ~/clone/path/scripts/apikeys.json
by copying the given sample file
and copy-pasting in your API keys.
Modify the given plist sample file
by copy-pasting in the absolute path to the python3 executable
and copy it to ~/Library/LaunchAgents/com.github.fxg42.tmux-weather.plist
.
Load the plist:
$ launchctl load ~/Library/LaunchAgents/com.github.fxg42.tmux-weather.plist
Finally, add this line to .tmux.conf
and source it.
run-shell ~/clone/path/weather.tmux