feature: group - add reveal-delay config option for drawer

This commit is contained in:
cebem1nt
2026-04-18 13:34:29 -03:00
parent 3a321d934d
commit ab7bc8de1c
2 changed files with 19 additions and 1 deletions
+3
View File
@@ -10,6 +10,8 @@
namespace waybar {
class Group : public AModule {
sigc::connection reveal_timeout_;
public:
Group(const std::string&, const std::string&, const Json::Value&, bool);
~Group() override = default;
@@ -26,6 +28,7 @@ class Group : public AModule {
bool is_first_widget = true;
bool is_drawer = false;
bool click_to_reveal = false;
int reveal_delay = 0;
std::string add_class_to_drawer_children;
bool handleMouseEnter(GdkEventCrossing* const& ev) override;
bool handleMouseLeave(GdkEventCrossing* const& ev) override;