mirror of
https://github.com/rad4day/Waybar.git
synced 2023-12-21 10:22:59 +01:00
fix(custom): close endless scripts
This commit is contained in:
@ -12,6 +12,7 @@ namespace waybar::modules {
|
||||
class Custom : public ALabel {
|
||||
public:
|
||||
Custom(const std::string, const Json::Value&);
|
||||
~Custom();
|
||||
auto update() -> void;
|
||||
private:
|
||||
void delayWorker();
|
||||
@ -27,6 +28,7 @@ class Custom : public ALabel {
|
||||
waybar::util::SleeperThread thread_;
|
||||
waybar::util::command::res output_;
|
||||
waybar::util::JsonParser parser_;
|
||||
FILE* fp_;
|
||||
};
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user