Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rcoh/batmon
Battery notifications for people dumb enough to use xmonad ;-)
https://github.com/rcoh/batmon
Last synced: about 1 month ago
JSON representation
Battery notifications for people dumb enough to use xmonad ;-)
- Host: GitHub
- URL: https://github.com/rcoh/batmon
- Owner: rcoh
- Created: 2018-03-17T02:20:01.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T00:56:10.000Z (almost 2 years ago)
- Last Synced: 2024-09-06T13:42:56.466Z (3 months ago)
- Language: Python
- Size: 24.4 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Batmon
Batmon is a simple Python script that monitors battery usage on Linux and sends desktop notifications when the battery is low. It's intended to improve the UX when using window managers like XMonad that don't bring all of gnome's conveniences. It uses `notify-send` to send notifications to the desktop.
## Usage
```
pip install batmon
```
Next, find your battery with `ls /sys/class/power_supply/`. Usually it's `BAT0`.
Then, in your `.xmonadrc` or similar, `batmon [BATTERY] &`. That's it!