Skip to content

windymelt/tmux-github

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Tmux GitHub Status

Enables displaying GitHub Status in tmux status-right

Installation

In order to read GitHub Status, this plugin depends on curl and jq.

Installation with Tmux Plugin Manager (recommended)

Add plugin to the list of TPM plugins in .tmux.conf:

set -g @plugin 'windymelt/tmux-github'

Hit <prefix> + I to fetch the plugin and source it.

If format strings are added to status-right, they should now be visible.

Manual Installation

Clone the repo:

git clone https://github.com/windymelt/tmux-github ~/clone/path

Add this line to the bottom of .tmux.conf:

run-shell ~/clone/path/gh-status.tmux

From the terminal, reload TMUX environment:

tmux source-file ~/.tmux.conf

If format strings are added to status-right, they should now be visible.

Usage

Add any of the supported format strings (see below) to the status-right tmux option in .tmux.conf. Example:

set -g status-right '#{gh_status_description} | %a %h-%d %H:%M '

Supported Format Strings

  • #{gh_status_description} - will show GitHub Status description message. e.g. All Systems Operational, Partial System Outage, etc.

Thanks

This plugin is inspired from https://github.com/tmux-plugins/tmux-battery .

License

MIT

About

GitHub status indicator for tmux

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages