sway/get_workspaces.go

10 lines
157 B
Go
Raw Normal View History

2023-10-07 16:41:59 +02:00
package sway
import (
"context"
)
2024-02-14 15:12:39 +01:00
func (c *Client) GetWorkspaces(ctx context.Context) ([]Workspace, error) {
return sendMessage[[]Workspace](c, 1, "")
2023-10-07 16:41:59 +02:00
}