Overview¶
docs | |
---|---|
tests | |
package |
An i3 wm status block for showing the battery status in i3 blocks. It’s output uses pango to format the text. Loosely based on battery2 from James Murphy. https://github.com/vivien/i3blocks-contrib]
- Free software: BSD 2-Clause License
Installation¶
pip install i3-battery-block-vgg
You can also install the in-development version with:
pip install https://github.com/vgoehler/python-i3-battery-block/archive/master.zip
Command Line Options¶
usage: i3-battery-block-vgg [-h] [-c] [-b]
[-l {debug,info,warning,error,critical}]
CLI for i3 wm block battery
optional arguments:
-h, --help show this help message and exit
-c, --compact flag for compact mode, truncates all batteries into
one
-b, --show_bug This will show a marker if the acpi bug has occurred.
-l {debug,info,warning,error,critical}, --loglevel {debug,info,warning,error,critical}
log level
Documentation¶
Development¶
To run all tests run:
tox
Note, to combine the coverage data from all the tox environments run:
Windows | set PYTEST_ADDOPTS=--cov-append
tox
|
---|---|
Other | PYTEST_ADDOPTS=--cov-append tox
|