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

Method refresh

src/modules/custom.cpp:138–142  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

136}
137
138void waybar::modules::Custom::refresh(int sig) {
139 if (config_["signal"].isInt() && sig == SIGRTMIN + config_["signal"].asInt()) {
140 thread_.wake_up();
141 }
142}
143
144void waybar::modules::Custom::handleEvent() {
145 if (!config_["exec-on-event"].isBool() || config_["exec-on-event"].asBool()) {

Callers

nothing calls this directly

Calls 1

wake_upMethod · 0.80

Tested by

no test coverage detected