bdwmb/doc/MODULE_BATTERY.md
Ari Archer df4a3c1dc7
update @ Sat 19 Mar 17:14:52 EET 2022
Signed-off-by: Ari Archer <ari.web.xyz@gmail.com>
2022-03-19 17:14:52 +02:00

27 lines
534 B
Markdown

# Module - battery
This module shows your battery percentage and status.
```
NAME: battery
DEPENDENCIES: None
TYPE: Shellscript
```
## Setup
Go to your config.sh and add the `battery` module to your module list.
After that define the `BATTERY_NAME` variable with your battery name, for example:
```bash
export BATTERY_NAME='BAT1'
```
And then `BATTERY_SHOW_STATUS`, this will define if your widget will be responsive to the status of your battery.
For example:
```bash
export BATTERY_SHOW_STATUS=1
```
1 - True and 0 - False.