sway/get_bar_config.go

10 lines
219 B
Go
Raw Normal View History

package sway
2024-02-14 16:48:50 +01:00
func (c *Client) GetBarIDs() ([]string, error) {
return sendMessage[[]string](c, 6, "")
}
2024-02-14 16:48:50 +01:00
func (c *Client) GetBarConfig(barID string) (*BarConfig, error) {
return sendMessage[*BarConfig](c, 6, barID)
}