Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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 ;-)

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!