add workspace clicks
This commit is contained in:
@@ -48,6 +48,11 @@ class HyprlandService
|
||||
const Monitor *getMonitorById(int id) const;
|
||||
Monitor *getMonitorByIndex(std::size_t index);
|
||||
const Monitor *getMonitorByIndex(std::size_t index) const;
|
||||
// Switch to a workspace slot on a given monitor. If the workspace has an
|
||||
// associated Hyprland workspace id (hyprId >= 0) that id will be used.
|
||||
// Otherwise the slot and monitor name will be used to request creation
|
||||
// / activation via `hyprctl`.
|
||||
void switchToWorkspace(int monitorId, int slot);
|
||||
|
||||
private:
|
||||
int m_fd = -1;
|
||||
|
||||
Reference in New Issue
Block a user