An i3 wm block for showing the battery state. Based on battery2 from James Murphy. https://github.com/vivien/i3blocks-contrib]
Project description
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 |
Changelog
0.0.0 (2020-01-21)
First release on PyPI.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
i3-battery-block-vgg-0.4.0.tar.gz
(23.7 kB
view hashes)
Built Distribution
Close
Hashes for i3-battery-block-vgg-0.4.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9e28e1d4d72823e39bf30bade40df71e61afbf33a78a8b0bf346d466e9514ee0 |
|
MD5 | c3b51217db2a854f6087a37da1c1bae8 |
|
BLAKE2b-256 | dd3d67d1d16fbe85e76944d9bec889e6dd4722250093c4ddc25a8a34e615ab22 |
Close
Hashes for i3_battery_block_vgg-0.4.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 438e2c9ff9b3af1c4fb3d2189b51ea0772121b1a0b23ffb6308dd9ddc28572fd |
|
MD5 | e681ba0e65f74ec1b0d1bdb07b419067 |
|
BLAKE2b-256 | 8516a4483a18b9976c1c3f014ae832e89074dee62f5afcad7e674f093d0d63a0 |