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

Method doAction

src/modules/clock.cpp:472–477  ·  view source on GitHub ↗

Actions handler

Source from the content-addressed store, hash-verified

470
471// Actions handler
472auto waybar::modules::Clock::doAction(const std::string& name) -> void {
473 if (actionMap_[name]) {
474 (this->*actionMap_[name])();
475 } else
476 spdlog::error("Clock. Unsupported action \"{0}\"", name);
477}
478
479// Module actions
480void waybar::modules::Clock::cldModeSwitch() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected