Skip to content

gouthamkrishnakv/bat_notify

Repository files navigation

Open in Visual Studio Code

bat_notify

The battery-reporting superhero.

This reports if battery levels go over a threshold (if charging) or below another (if not charging).

Dependencies

  • Any Desktop which implements libnotify (0.7.7+)

Build Dependencies

  • meson: Meson Build System.
  • ninja: For emitting Meson generation.
  • gcc/clang: C Compiler.
  • libnotify-devel or libnotify-dev: Development files for libnotify.

Build Instructions

  1. Configure the Build Directory

    meson setup _build

    NOTE: For clang, do the follwing:

    CC="clang" meson setup _build
  2. Build bat_notify

    meson compile -C _build
  3. The built binary can be found in _build/bat_notify.

    ./_build/bat_notify

License

Copyright (C) 2021 Goutham Krishna K V

MIT LICENSE