Skip to main content

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

https://python-i3-battery-block.readthedocs.io/

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)

Uploaded Source

Built Distribution

i3_battery_block_vgg-0.4.0-py2.py3-none-any.whl (11.7 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page