(name: string)
| 41 | } |
| 42 | |
| 43 | function commandExists(name: string): boolean { |
| 44 | const result = Bun.spawnSync({ cmd: ['which', name], stdout: 'pipe', stderr: 'pipe' }) |
| 45 | return result.exitCode === 0 |
| 46 | } |
| 47 | |
| 48 | // --------------------------------------------------------------------------- |
| 49 | // xdotool key name mapping |
no outgoing calls
no test coverage detected