package sway func (c *Client) GetCurrentBindingMode() (string, error) { mode, err := sendMessage[name](c, 12, "") if err != nil { return "", err } return mode.Name, nil }