Last Updated: October 15, 2019
·
2.125K
· mrgando

Nice display of your MacBook's battery status in tmux/terminal

Battery

Battery in Action

Battery is a little bash script that uses Spark to display the battery status on your tmux sessions or the terminal. Right now it only works on OS X, but Linux support is on the roadmap.

Why?

Because it's fun & nice :)

One Liner Install

(Cut & Paste on terminal to install on /usr/bin, btw, try to run from ~/ or other writable dir)

brew install spark; curl -O https://raw.github.com/Goles/Battery/master/battery ; \
sudo mv battery /usr/bin; sudo chmod 755 /usr/bin/battery

Repo

You can fork it on Github