Display a series of ten hearts indicating the current battery charge.
Display a series of ten hearts indicating the current battery charge. The hearts were chosen as an homage to Zelda. You can read more about it in my blog post covering the subject.
tmux_battery_charge_indicator.sh
script into ~/bin
(or the location of your choosing).~/.tmux.conf
you can add the indicator to the right side of your status with the following code:# battery charge indicator
set -g status-right '#(~/bin/tmux_battery_charge_indicator.sh)'
set -g status-utf8 on
You can check out the forks to see alternate versions which have more options and may better fit your needs.