Add config value for inhibitor default state.

This commit is contained in:
Ian Manske
2022-10-13 21:47:57 -04:00
parent 5da45ece9d
commit cca5227210
3 changed files with 43 additions and 26 deletions

View File

@ -20,6 +20,7 @@ class IdleInhibitor : public ALabel {
private:
bool handleToggle(GdkEventButton* const& e);
void toggleStatus();
const Bar& bar_;
struct zwp_idle_inhibitor_v1* idle_inhibitor_;