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