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

Method refresh

src/modules/image.cpp:43–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41}
42
43void waybar::modules::Image::refresh(int sig) {
44 if (config_["signal"].isInt() && sig == SIGRTMIN + config_["signal"].asInt()) {
45 thread_.wake_up();
46 }
47}
48
49auto waybar::modules::Image::update() -> void {
50 if (config_["path"].isString()) {

Callers

nothing calls this directly

Calls 1

wake_upMethod · 0.80

Tested by

no test coverage detected