()
| 12 | export type InputTool = 'xdotool' | 'ydotool'; |
| 13 | |
| 14 | function detectDisplayServer(): DisplayServer { |
| 15 | if (process.env['WAYLAND_DISPLAY']) return 'wayland'; |
| 16 | if (process.env['XDG_SESSION_TYPE'] === 'wayland') return 'wayland'; |
| 17 | return 'x11'; |
| 18 | } |
| 19 | |
| 20 | // ── Cached input tool resolution ─────────────────────────────────────── |
| 21 |
no outgoing calls
no test coverage detected
searching dependent graphs…