mirror of
https://github.com/rad4day/Waybar.git
synced 2023-12-21 10:22:59 +01:00
fix call parent event handle, added commang to open user folder
This commit is contained in:
@ -14,6 +14,8 @@ class User : public AIconLabel {
|
||||
~User() = default;
|
||||
auto update() -> void;
|
||||
|
||||
bool handleToggle(GdkEventButton* const& e) override;
|
||||
|
||||
private:
|
||||
util::SleeperThread thread_;
|
||||
|
||||
@ -22,8 +24,6 @@ class User : public AIconLabel {
|
||||
static constexpr inline int defaultUserImageWidth_ = 20;
|
||||
static constexpr inline int defaultUserImageHeight_ = 20;
|
||||
|
||||
bool signal_label(GdkEventButton* button) const;
|
||||
|
||||
long uptime_as_seconds();
|
||||
std::string get_user_login() const;
|
||||
std::string get_user_home_dir() const;
|
||||
|
Reference in New Issue
Block a user