10 lines
167 B
Go
10 lines
167 B
Go
package sway
|
|
|
|
func (c *Client) GetConfig() (string, error) {
|
|
cfg, err := sendMessage[config](c, 9, "")
|
|
if err != nil {
|
|
return "", err
|
|
}
|
|
return cfg.Config, nil
|
|
}
|