2023-10-07 16:41:59 +02:00
|
|
|
package sway
|
|
|
|
|
2024-02-14 17:21:50 +01:00
|
|
|
// GetWorkspaces returns all currently opened workspaces
|
2024-02-14 16:48:50 +01:00
|
|
|
func (c *Client) GetWorkspaces() ([]Workspace, error) {
|
2024-02-14 16:36:12 +01:00
|
|
|
return sendMessage[[]Workspace](c, 1, "")
|
2023-10-07 16:41:59 +02:00
|
|
|
}
|