10 lines
219 B
Go
10 lines
219 B
Go
package sway
|
|
|
|
func (c *Client) GetBarIDs() ([]string, error) {
|
|
return sendMessage[[]string](c, 6, "")
|
|
}
|
|
|
|
func (c *Client) GetBarConfig(barID string) (*BarConfig, error) {
|
|
return sendMessage[*BarConfig](c, 6, barID)
|
|
}
|