package sway // GetWorkspaces returns all currently opened workspaces func (c *Client) GetWorkspaces() ([]Workspace, error) { return sendMessage[[]Workspace](c, 1, "") }