Compare commits

..

No commits in common. "main" and "v0.1.16" have entirely different histories.

View File

@ -21,10 +21,6 @@ func (c *Client) IsReachable() bool {
// and returns true as soon as IsReachable returns true.
// When ctx is closed before Hyprland is reachable, false is returned
func (c *Client) WaitUntilReachable(ctx context.Context) bool {
if c.IsReachable() {
return true
}
ticker := time.NewTicker(100 * time.Millisecond)
defer ticker.Stop()