feat: add pulseaudio module

This commit is contained in:
Alexis
2018-08-09 23:55:38 +02:00
parent 11fab436b9
commit 7ccb76935d
9 changed files with 167 additions and 19 deletions

View File

@ -18,5 +18,7 @@ waybar::IModule &waybar::Factory::makeModule(std::string name)
return *new waybar::modules::Clock(_config[name]);
if (name == "network")
return *new waybar::modules::Network(_config[name]);
if (name == "pulseaudio")
return *new waybar::modules::Pulseaudio(_config[name]);
throw std::runtime_error("Unknown module: " + name);
}