Last Updated: October 15, 2019
· mrgando

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


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.


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 ; \
sudo mv battery /usr/bin; sudo chmod 755 /usr/bin/battery


You can fork it on Github