Added 'MPRIS' module

This commit adds the ability to display status information for MPRIS
compatible music players.

Closes #53
This commit is contained in:
haruInDisguise 2024-07-05 23:22:20 +02:00 committed by Daniel Eklöf
parent b5450c3918
commit c27de56bea
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
9 changed files with 1266 additions and 1 deletions

13
modules/dbus.h Normal file
View file

@ -0,0 +1,13 @@
#pragma once
// This header provides an generic interface for different versions of
// systemd-sdbus.
#if defined(HAVE_LIBSYSTEMD)
#include <systemd/sd-bus.h>
#elif defined(HAVE_LIBELOGIND)
#include <elogind/sd-bus.h>
#elif defined(HAVE_BASU)
#include <basu/sd-bus.h>
#endif