sway/get_workspaces.go

7 lines
172 B
Go
Raw Permalink Normal View History

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) {
return sendMessage[[]Workspace](c, 1, "")
2023-10-07 16:41:59 +02:00
}