2024-02-14 16:36:12 +01:00
|
|
|
package sway
|
|
|
|
|
2024-02-14 17:21:50 +01:00
|
|
|
// GetVersion returns information about the sway version
|
2024-02-14 16:48:50 +01:00
|
|
|
func (c *Client) GetVersion() (*Version, error) {
|
2024-02-14 16:36:12 +01:00
|
|
|
return sendMessage[*Version](c, 7, "")
|
|
|
|
}
|