MCPcopy Create free account
hub / github.com/Alexays/Waybar / update

Method update

src/AModule.cpp:93–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91}
92
93auto AModule::update() -> void {
94 // Run user-provided update handler if configured
95 if (config_["on-update"].isString()) {
96 pid_children_.push_back(util::command::forkExec(config_["on-update"].asString()));
97 }
98}
99// Get mapping between event name and module action name
100// Then call overridden doAction in order to call appropriate module action
101auto AModule::doAction(const std::string& name) -> void {

Callers

nothing calls this directly

Calls 1

forkExecFunction · 0.85

Tested by

no test coverage detected