Batify Save

Only one udevrule file triggering plug and critical battery level notifications (multi-x sessions support)

Project README

Batify

Batify is an udevrule-file triggering plug and critical battery level notifications (using libnotify and xpub)

Perks

  • Minimal: only one udevrule-file (using libnotify).
  • Everywhere: displays notifications on any current graphical session.
  • Support: for XWayland as well.

Installation

Requirements

Using libnotify, you might need to install a notification server.

Package (AUR)

$ yaourt -S batify

Manually

$ git clone --recursive https://github.com/Ventto/batify.git
$ cd batify
$ sudo make install

Warning: After installing batify, do not forget to reload udev rules:

$ udevadm control --reload-rules

Notifications

Description Level
Battery level is between 10% and 19% normal
Battery level is less or equal to 9% critical
AC adapter plugged-in low
AC adapter unplugged low

Troubleshooting

No battery level warnings displayed

  • You might need to replace BAT0 with your battery identifier:
ACTION=="change", KERNEL=="BAT0", \
Open Source Agenda is not affiliated with "Batify" Project. README Source: Ventto/batify
Stars
71
Open Issues
2
Last Commit
3 years ago
Repository

Open Source Agenda Badge

Open Source Agenda Rating