sway/get_outputs.go

7 lines
161 B
Go

package sway
// GetOutputs returns all outputs and their properties
func (c *Client) GetOutputs() ([]Output, error) {
return sendMessage[[]Output](c, 3, "")
}