Display desktop notifications if your battery is low.
The look of the notification on your computer depends on your notification daemon and its configuration.
git clone https://github.com/kovmir/battnotify.git
cd battnotify # Optionally adjust config.h to your liking.
make
sudo make install
battnotify # Put 'battnotify &' in your '~/.xinitrc'.
A notification daemon, like dunst, must be started prior to battnotify
.
- ^GNU Make
- ^pkg-config
- ^GCC or Clang
- libnotify
^: compilation time only dependencies.
- Linux
Q: Does it support Wayland?
A: It does, as it is independent of the display server due to Desktop Notifications Specification.
When submitting PRs, please maintain the coding style used for the project.