My simple statusbar for tmux, written in Go, inspired by Powerline, tmux-powerline and vim-airline
I ❤️ Powerline but I always seem to have trouble setting it up on a new workstation. tmux-powerline is a good alternative but is now deprecated, and I wanted to write my own plugins. So I came up with this. It's lightweight, easy to install and I can write plugins for it.
I use it myself, so it should be usable if you're looking for a statusbar alternative.
- Client/daemon mode: no waiting for the status bar to redraw
- 5 plugins:
- Load average
- The Singapore PSI reading
- Current date and time
- Current weather and temperature
- Last track played on LastFM
- Configurable colours
Prerequisites:
Make sure $GOPATH/bin
or $GOBIN
is added to your $PATH
before starting tmux.
Get both the client and daemon binaries using go get
:
$ go get github.com/mcartmell/limeline/...
Then add to your ~/.tmux.conf
:
source "$GOPATH/src/github.com/mcartmell/limeline/tmux.conf"
Copy in the sample config to ~/.config/limeline/config.yaml
:
mkdir -p ~/.config/limeline
cp $GOPATH/src/github.com/mcartmell/limeline/config.sample.yaml ~/.config/limeline/config.yaml
Then restart tmux and you're good to go.
OPTIONAL: If you want to customize the tmux settings, or some of limeline's settings aren't working for you, copy the tmux.conf
, edit it and source your own copy instead.
See the sample config for an example.
- Powerline. The original, written in Python.
- tmux-powerline. A lightweight powerline just for tmux, written in bash.
- More plugins