feat(modules): call user on-update if configured

This commit is contained in:
Jordi Pakey-Rodriguez
2019-07-05 14:46:38 -07:00
parent de0a3cb020
commit 0f0765e517
12 changed files with 56 additions and 1 deletions

View File

@ -29,7 +29,7 @@ AModule::~AModule() {
}
auto AModule::update() -> void {
// Nothing here
pid_.push_back(util::command::forkExec(config_["on-update"].asString()));
}
bool AModule::handleToggle(GdkEventButton* const& e) {