Commit Graph
5 Commits
Author SHA1 Message Date
thread c89ff2b68e LLMIFY THIS MOFO
CI / Test (push) Successful in 58s
2026-09-01 01:09:59 -04:00
burakgizlice b694e58d90 fix: add timeout to unixgram dial
Use net.Dialer with a 500ms timeout for the unixgram dial to guard
against edge cases, as suggested in review.
2026-02-14 00:16:30 +03:00
burakgizlice 4a5d60095a fix: use SOCK_DGRAM for ydotoold socket (v1.0.4+)
ydotoold v1.0.4+ uses SOCK_DGRAM (unixgram) Unix sockets instead of
SOCK_STREAM. The availability check was using net.DialTimeout("unix", ...)
which only supports stream sockets, causing a "protocol wrong type for
socket" error on systems with newer ydotool versions.

Try unixgram first, then fall back to stream for older versions.
2026-02-13 23:45:43 +03:00
Olivier Roy 9f57fc5f44 Check if ydotoold exists before requiring the socket 2026-01-07 10:30:37 +01:00
leonardotrapani 13aa3e3b80 new injection strategies 2025-12-19 16:31:54 +01:00