mirror of
https://github.com/rad4day/Waybar.git
synced 2025-07-13 14:42:29 +02:00
refactor: kill custom modules scripts en destroy
This commit is contained in:
@ -11,7 +11,7 @@ namespace waybar {
|
||||
class ALabel : public IModule {
|
||||
public:
|
||||
ALabel(const Json::Value &, const std::string format, uint16_t interval = 0);
|
||||
virtual ~ALabel() = default;
|
||||
virtual ~ALabel();
|
||||
virtual auto update() -> void;
|
||||
virtual std::string getIcon(uint16_t, const std::string &alt = "");
|
||||
virtual operator Gtk::Widget &();
|
||||
@ -30,6 +30,9 @@ class ALabel : public IModule {
|
||||
|
||||
virtual bool handleToggle(GdkEventButton *const &ev);
|
||||
virtual bool handleScroll(GdkEventScroll *);
|
||||
|
||||
private:
|
||||
std::vector<int> pid_;
|
||||
};
|
||||
|
||||
} // namespace waybar
|
||||
|
Reference in New Issue
Block a user