Skip to content

kovmir/battnotify

Repository files navigation

battnotify

Display desktop notifications if your battery is low.

PREVIEW

screenshot

The look of the notification on your computer depends on your notification daemon and its configuration.

INSTALL

git clone https://github.com/kovmir/battnotify.git
cd battnotify # Optionally adjust config.h to your liking.
make
sudo make install

USAGE

battnotify # Put 'battnotify &' in your '~/.xinitrc'.

A notification daemon, like dunst, must be started prior to battnotify.

DEPENDENCIES

^: compilation time only dependencies.

SUPPORTED OPERATING SYSTEMS

  • Linux

FAQ

Q: Does it support Wayland?

A: It does, as it is independent of the display server due to Desktop Notifications Specification.

CONTRIBUTING

When submitting PRs, please maintain the coding style used for the project.