Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/kyrol01/batterypunish
- Owner: kYroL01
- Created: 2015-01-25T00:08:49.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2020-07-25T16:30:44.000Z (over 4 years ago)
- Last Synced: 2024-10-28T00:56:03.171Z (2 months ago)
- Topics: alert, battery, python
- Language: Python
- Homepage:
- Size: 25.4 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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