feat: Add basic support for MPD

This commit is contained in:
Minijackson
2019-04-16 16:34:37 +02:00
parent 85b6e6f709
commit 06aff70e2e
8 changed files with 235 additions and 1 deletions

View File

@ -56,6 +56,11 @@ waybar::IModule* waybar::Factory::makeModule(const std::string &name) const
return new waybar::modules::Pulseaudio(id, config_[name]);
}
#endif
#ifdef HAVE_LIBMPDCLIENT
if (ref == "mpd") {
return new waybar::modules::MPD(id, config_[name]);
}
#endif
if (ref == "temperature") {
return new waybar::modules::Temperature(id, config_[name]);
}