https://github.com/aaronlasseigne/tmux_battery_charge_indicator
Display a series of ten hearts indicating the current battery charge.
https://github.com/aaronlasseigne/tmux_battery_charge_indicator
Last synced: 12 days ago
JSON representation
Display a series of ten hearts indicating the current battery charge.
- Host: GitHub
- URL: https://github.com/aaronlasseigne/tmux_battery_charge_indicator
- Owner: AaronLasseigne
- Created: 2013-02-07T02:26:30.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2014-04-09T01:42:38.000Z (about 11 years ago)
- Last Synced: 2025-04-04T11:06:58.073Z (21 days ago)
- Language: Shell
- Homepage:
- Size: 121 KB
- Stars: 10
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Tmux Battery Charge Indicator
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.## Installation
1. Place the `tmux_battery_charge_indicator.sh` script into `~/bin` (or the location of your choosing).
2. In `~/.tmux.conf` you can add the indicator to the right side of your status with the following code:```bash
# battery charge indicator
set -g status-right '#(~/bin/tmux_battery_charge_indicator.sh)'
set -g status-utf8 on
```## Alternate Versions
You can check out the [forks][] to see alternate versions which have more options and may better fit your needs.
[blog post]: http://aaronlasseigne.com/2012/10/15/battery-life-in-the-land-of-tmux/
[forks]: https://github.com/AaronLasseigne/tmux_battery_charge_indicator/network