ilya-manin / tmux-weather

🌤 Weather plugin for tmux
MIT License
68 stars 13 forks source link
tmux weather

Weather plugin for tmux

GitHub

Shows weather in the status line, data provided by wttr.in

tmux-weather

Installation

Requirements

With Tmux Plugin Manager

Add the plugin in .tmux.conf:

set -g @plugin 'xamut/tmux-weather'

Press prefix + I to fetch the plugin and source it. Done.

Manual

Clone the repo somewhere. Add run-shell in the end of .tmux.conf:

run-shell PATH_TO_REPO/tmux-weather.tmux

NOTE: this line should be placed after set-option -g status-right ....

Press prefix + : and type source-file ~/.tmux.conf. Done.

Usage

Add #{weather} somewhere in the right status line:

set-option -g status-right "#{weather}"

then you will see the current weather in the status line: ⛅️ -1°C

Customization

The plugin could be customized with:

Other plugins

License

tmux-weather plugin is released under the MIT License.