Add logind feature, with its 'inhibitor' module

The logind feature adds a new inhibitor module which allows to acquire
the inhibitor locks that logind presents.

Signed-off-by: Alexis Cellier <kernelserror@gmail.com>
This commit is contained in:
Alexis Cellier
2021-12-03 23:32:53 +01:00
parent 39f42cdd7e
commit eae65099d0
6 changed files with 217 additions and 1 deletions

View File

@ -51,6 +51,9 @@
#ifdef HAVE_LIBSNDIO
#include "modules/sndio.hpp"
#endif
#ifdef HAVE_GIO_UNIX
#include "modules/inhibitor.hpp"
#endif
#include "bar.hpp"
#include "modules/custom.hpp"
#include "modules/temperature.hpp"