fxg42 / tmux-weather

Adds current weather and temperature to tmux

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

tmux-weather

Adds current weather and temperature to tmux.

screenshot

Features

  • #{weather} placeholder for the status line. Displays an icon representing the current weather at the current location, based on the IP address.

Dependencies

Installation

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

License

MIT

About

Adds current weather and temperature to tmux

License:MIT License


Languages

Language:Shell 73.2%Language:Python 26.8%