Added option to print each battery on the same line, check 1.1.md for more info
This commit is contained in:
16
1.1.md
16
1.1.md
@@ -98,6 +98,22 @@ in your system.
|
||||
|
||||
- Added `battery_num` which allows you to choose which battery to display, <br \>
|
||||
it also takes the value `all` which will print all batteries line by line.
|
||||
- Added `battery_shorthand` which when set to `on` prints each battery on the<br \>
|
||||
same line like so:
|
||||
|
||||
```sh
|
||||
# battery_shorthand="on"
|
||||
Battery: 10%, 5%, 67%
|
||||
|
||||
# battery_shorthand="off"
|
||||
Battery0: 10%
|
||||
Battery1: 5%
|
||||
Battery2: 67%
|
||||
|
||||
# If there's only a single battery in the system
|
||||
# we ommit the numbered title.
|
||||
Battery: 10%
|
||||
```
|
||||
|
||||
- **NOTE:** This currently only works on Linux, support for other platforms is being<br \>
|
||||
worked on.
|
||||
|
||||
Reference in New Issue
Block a user