created local variable for _output
parent
7554d7f071
commit
7b3a6fbaa7
|
@ -27,7 +27,6 @@ class Image : public AModule {
|
|||
std::string path_;
|
||||
int size_;
|
||||
int interval_;
|
||||
util::command::res output_;
|
||||
|
||||
util::SleeperThread thread_;
|
||||
};
|
||||
|
|
|
@ -39,6 +39,8 @@ void waybar::modules::Image::refresh(int sig) {
|
|||
}
|
||||
|
||||
auto waybar::modules::Image::update() -> void {
|
||||
util::command::res output_;
|
||||
|
||||
Glib::RefPtr<Gdk::Pixbuf> pixbuf;
|
||||
if(config_["path"].isString())
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue