cellrs
(pronounced "cellars") is a terminal-based battery indicator written in Rust.
cellrs
displays a battery which resizes with the size of the terminal.Supported platforms/versions are generally based on battery.
There are a few ways you can get and use cellrs
.
Install from crates.io.
sh
cargo install cellrs
Download a release binary from GitLab and put it somewhere in your $PATH
.
Build from source.
sh
git clone https://gitlab.com/leglesslamb/cellrs.git
cd cellrs
make install
help
usage : ./cellrs
-b [blink-width] Set custom blink-width [16-bit unsigned] (defaults to 1).
-h Display this help message.
b
cycles through the blink-width value.
1
or unset, it will cycle through {1, <max-width>, 0, ...}
.{<custom-width>, <max-width>, 0, ...}
.q
quits cellrs
.