Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kyrol01/batterypunish

Launch an alert when battery status is low
https://github.com/kyrol01/batterypunish

alert battery python

Last synced: about 1 month ago
JSON representation

Launch an alert when battery status is low

Awesome Lists containing this project

README

        

batterypunish
=============

**batterypunish** is a python service to notify a message alert when the charge of battery is 20 %.

Use the `gtk` library to create and notify a small graphical notification on the screen.

## Makefile

`make install`

`make uninstall`

Now binary file is under `/usr/local/bin`

## Reload systemd manager configuration
`systemctl daemon-reload`

## Launch the service
`systemctl start batterypun`

## Enable the service from startup
`systemctl enable batterypun`

## Dependencies

[gtk][pygtk]

[pygtk]: https://wiki.python.org/moin/PyGtk