Merge pull request #4941 from sjudin/groups-add-empty-css-class

feat(group): Add .empty class to empty groups
This commit is contained in:
Alexis Rouillard
2026-07-04 00:50:01 +02:00
committed by GitHub
3 changed files with 64 additions and 2 deletions
+2 -1
View File
@@ -10,7 +10,7 @@
namespace waybar {
class Group : public AModule {
sigc::connection reveal_timeout_;
sigc::connection reveal_timeout_;
public:
Group(const std::string&, const std::string&, const Json::Value&, bool);
@@ -28,6 +28,7 @@ class Group : public AModule {
bool is_first_widget = true;
bool is_drawer = false;
bool click_to_reveal = false;
bool empty_if_drawer_empty = false;
int reveal_delay = 0;
std::string add_class_to_drawer_children;
bool handleMouseEnter(GdkEventCrossing* const& ev) override;