Command line application that shows a popup window when the battery is low
Project description
WIP
Battery Status Notifier (bsnotifier)
Command line application that shows a popup window when the battery is low. This Python script can be used to notify battery status in i3wm environments.
Table of contents
Get started
Installation
This application can be simply installed by running:
pip install bsnotifier
if you want to install from a source distribution:
git clone https://github.com/eccanto/battery-status-notifier
cd battery-status-notifier/
python setup.py install
Developers
Requirements
System requirements:
sudo apt-get install wmctrl xvfb x11-utils gnumeric
Python requirements:
pip3 install -r requirements_testing.txt
Set Python versions
- Install pyenv
- Install python versions:
for python_version in "3.7" "3.8" "3.9" "3.10" "3.11" ; do pyenv install ${python_version}; done
- Enable python versions:
pyenv local "3.7" "3.8" "3.9" "3.10" "3.11"
Run
We use tox and pytest to run the test suite:
tox
to run the test suite for a particular Python version, you can do:
tox -e py37
License
Changelog
- 1.0.0 - Initial version.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
bsnotifier-1.0.0.tar.gz
(124.5 kB
view details)
File details
Details for the file bsnotifier-1.0.0.tar.gz
.
File metadata
- Download URL: bsnotifier-1.0.0.tar.gz
- Upload date:
- Size: 124.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0aaa48390b3cc609b885f4f2ad22de66b950cf40eda67c8b990c2cd656591a11 |
|
MD5 | 85f346da4b210d7d5fcf60b1b325811f |
|
BLAKE2b-256 | 1febf1364be7c2fc14453767a685acfd5a1d6e389289c30a6320d9541f192bb6 |