This commit is contained in:
Viktar Lukashonak
2025-12-07 23:08:55 +03:00
parent 52f4db1154
commit 3773021546
7 changed files with 367 additions and 12 deletions

View File

@@ -110,6 +110,9 @@
#endif
#ifdef HAVE_LIBCAVA
#include "modules/cava/cava.hpp"
#ifdef HAVE_LIBCAVAGLSL
#include "modules/cava/cavaGLSL.hpp"
#endif
#endif
#ifdef HAVE_SYSTEMD_MONITOR
#include "modules/systemd_failed_units.hpp"
@@ -344,6 +347,10 @@ waybar::AModule* waybar::Factory::makeModule(const std::string& name,
#ifdef HAVE_LIBCAVA
if (ref == "cava") {
return new waybar::modules::cava::Cava(id, config_[name]);
#ifdef HAVE_LIBCAVAGLSL
} else if (ref == "cavaGLSL") {
return new waybar::modules::cava::CavaGLSL(id, config_[name]);
#endif
}
#endif
#ifdef HAVE_SYSTEMD_MONITOR