mirror of
https://github.com/rad4day/Waybar.git
synced 2023-12-21 10:22:59 +01:00
Workspaces scroll event (#19)
This commit is contained in:
@ -17,11 +17,15 @@ namespace waybar::modules {
|
||||
private:
|
||||
void _addWorkspace(Json::Value node);
|
||||
Json::Value _getWorkspaces(const std::string data);
|
||||
bool _handleScroll(GdkEventScroll *e);
|
||||
int _getPrevWorkspace();
|
||||
int _getNextWorkspace();
|
||||
Bar &_bar;
|
||||
waybar::util::SleeperThread _thread;
|
||||
Gtk::Box _box;
|
||||
util::JsonParser _parser;
|
||||
std::mutex _mutex;
|
||||
bool _scrolling;
|
||||
std::unordered_map<int, Gtk::Button> _buttons;
|
||||
Json::Value _workspaces;
|
||||
int _ipcfd;
|
||||
|
Reference in New Issue
Block a user