All Projects → xamut → tmux-weather

xamut / tmux-weather

Licence: MIT license
🌤 Weather plugin for tmux

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to tmux-weather

MMM-NOAA
Weather module
Stars: ✭ 17 (-57.5%)
Mutual labels:  weather
aerisjs
Aeris Interactive
Stars: ✭ 55 (+37.5%)
Mutual labels:  weather
MeteoalarmCard
Meteoalarm, Météo-France and DWD severe weather warnings card for Home Assistant Lovelace UI ⛈️
Stars: ✭ 48 (+20%)
Mutual labels:  weather
zpwr
ZPWR => World's Most Advanced UNIX Terminal Environment
Stars: ✭ 109 (+172.5%)
Mutual labels:  tmux
colorcli
Collection of harmonized, light command-line interface (CLI) color themes for tmux, cmus, newsboat, mcabber, Vim, Vifm, and Mutt.
Stars: ✭ 40 (+0%)
Mutual labels:  tmux
owm-display
forecast.io display
Stars: ✭ 67 (+67.5%)
Mutual labels:  weather
BME680
Arduino Library to access the Bosch BME680 - temperature, pressure, humidity and gas sensor
Stars: ✭ 30 (-25%)
Mutual labels:  weather
dotfiles
shell, git, vim, tmux .etc dotfiles, managed via gnu stow
Stars: ✭ 20 (-50%)
Mutual labels:  tmux
dots
Code Smell Dotfiles
Stars: ✭ 163 (+307.5%)
Mutual labels:  tmux
dotfiles
A place to store config files so I can revert when my entire system crashes from entering the wrong character
Stars: ✭ 25 (-37.5%)
Mutual labels:  tmux
open-earth-compiler
development repository for the open earth compiler
Stars: ✭ 50 (+25%)
Mutual labels:  weather
Weather
用C#编写的天气预报小工具(.NET4.0 & Visual Studio 2017)
Stars: ✭ 19 (-52.5%)
Mutual labels:  weather
HexBot
A Relatively Simply Awesome Discord bot with Music, Games, Comics, Memes and other cool features. This bot is made in Python 3.8 using discord.py
Stars: ✭ 109 (+172.5%)
Mutual labels:  weather
dotfiles
Dotfiles for Neovim (0.7+), Fish shell, git, Kitty, tmux, and more.
Stars: ✭ 54 (+35%)
Mutual labels:  tmux
drop-in
Remote workspace
Stars: ✭ 47 (+17.5%)
Mutual labels:  tmux
yahoo-weather-java-api
A Java API for the yahoo weather service
Stars: ✭ 26 (-35%)
Mutual labels:  weather
muxnect
Send input to just about any interactive command-line tool through a local web server
Stars: ✭ 23 (-42.5%)
Mutual labels:  tmux
dotfiles
🏎 my dotfiles for macOS
Stars: ✭ 33 (-17.5%)
Mutual labels:  tmux
configuration
Config files
Stars: ✭ 12 (-70%)
Mutual labels:  tmux
Perfect-Weather
Demonstrate using URL Routes & variables, Fetching of remote data from API's as JSON, reading and transforming to data more appropriately consumable by an API client.
Stars: ✭ 32 (-20%)
Mutual labels:  weather

Weather plugin for tmux

GitHub

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

tmux-weather

Installation

Requirements

  • curl
  • sed

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:

  • set-option -g @tmux-weather-interval 15 - Set up the update interval in minutes, by default it is 15 minutes.
  • set-option -g @tmux-weather-location "Tomsk" - Set up your location, by default you will get the weather for your current location based on your IP address.
  • set-option -g @tmux-weather-format "%c+%t+%w" - Set up a representation, by default it is 1, for more options go to https://github.com/chubin/wttr.in#one-line-output
  • set-option -g @tmux-weather-units" "m" - Set up weather units (u - for USCS, m - for metric system), by default used metric units.

Other plugins

License

tmux-weather plugin is released under the MIT License.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].