Making active a bool

This commit is contained in:
Jordan Leppert
2020-11-01 18:25:41 +00:00
parent b015836e7b
commit 9785a89013
2 changed files with 14 additions and 17 deletions

View File

@ -12,8 +12,8 @@ class IdleInhibitor : public ALabel {
IdleInhibitor(const std::string&, const waybar::Bar&, const Json::Value&);
~IdleInhibitor();
auto update() -> void;
static std::list<waybar::AModule*> modules;
static std::string status;
static std::list<waybar::AModule*> modules;
static bool status;
private:
bool handleToggle(GdkEventButton* const& e);