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