mirror of
https://github.com/rad4day/Waybar.git
synced 2025-07-20 01:42:38 +02:00
refactor(workspaces): scroll output aware
This commit is contained in:
@@ -23,9 +23,8 @@ class Workspaces : public IModule {
|
||||
void onButtonReady(const Json::Value&, Gtk::Button&);
|
||||
std::string getIcon(const std::string&, const Json::Value&);
|
||||
bool handleScroll(GdkEventScroll*);
|
||||
std::string getPrevWorkspace();
|
||||
std::string getNextWorkspace();
|
||||
uint16_t getWorkspaceIndex(const std::string &name);
|
||||
const std::string getCycleWorkspace(uint8_t current, bool prev) const;
|
||||
uint16_t getWorkspaceIndex(const std::string &name) const;
|
||||
std::string trimWorkspaceName(std::string);
|
||||
|
||||
const Bar& bar_;
|
||||
|
Reference in New Issue
Block a user