2024-02-14 16:36:12 +01:00
|
|
|
package sway
|
|
|
|
|
2024-02-14 16:48:50 +01:00
|
|
|
func (c *Client) GetCurrentBindingMode() (string, error) {
|
2024-02-14 16:36:12 +01:00
|
|
|
mode, err := sendMessage[name](c, 12, "")
|
|
|
|
if err != nil {
|
|
|
|
return "", err
|
|
|
|
}
|
|
|
|
return mode.Name, nil
|
|
|
|
}
|