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