Skip to main content

Overview

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.

Release files for i3-battery-block-vgg 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for i3-battery-block-vgg 0.4.0
File Size Uploaded
i3-battery-block-vgg-0.4.0.tar.gz 23.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for i3-battery-block-vgg 0.4.0
File Interpreter ABI Platform
i3_battery_block_vgg-0.4.0-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 35.4 kB

Release files / i3-battery-block-vgg-0.4.0.tar.gz

Download URL i3-battery-block-vgg-0.4.0.tar.gz
Size 23.7 kB
Tags Source
SHA-256 checksum
How to use checksums
9e28e1d4d72823e39bf30bade40df71e61afbf33a78a8b0bf346d466e9514ee0
BLAKE2b-256 checksum
How to use checksums
dd3d67d1d16fbe85e76944d9bec889e6dd4722250093c4ddc25a8a34e615ab22
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.5

Release files / i3_battery_block_vgg-0.4.0-py2.py3-none-any.whl

Download URL i3_battery_block_vgg-0.4.0-py2.py3-none-any.whl
Size 11.7 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
438e2c9ff9b3af1c4fb3d2189b51ea0772121b1a0b23ffb6308dd9ddc28572fd
BLAKE2b-256 checksum
How to use checksums
8516a4483a18b9976c1c3f014ae832e89074dee62f5afcad7e674f093d0d63a0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.5

Release history Release notifications | RSS feed

This release

0.4.0 This release

2 release files

0.3.0

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page