Added option to print each battery on the same line, check 1.1.md for more info

This commit is contained in:
Dylan
2016-02-02 12:01:50 +11:00
parent bb48caec70
commit 6cd2881962
4 changed files with 51 additions and 11 deletions

16
1.1.md
View File

@@ -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.