sway/get_workspaces.go

10 lines
157 B
Go

package sway
import (
"context"
)
func (c *Client) GetWorkspaces(ctx context.Context) ([]Workspace, error) {
return sendMessage[[]Workspace](c, 1, "")
}