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