# Headless mode Runs NeferWL without a screen, for tests and quick checks: ```sh neferwl --backend=headless --screenshot /tmp/neferwl-shots WAYLAND_DISPLAY= foot ``` - `latest.png` shows the current frame. Every frame is also saved as `frame-NNNNNN.png`, so the directory grows. - `--size 640x360,640x360` creates two outputs, arranged left to right, for testing `focus-monitor-left/right` and moving columns between outputs. - With several outputs, each writes to `/HEADLESS-/`. - `--timeout 5s` stops NeferWL after 5 seconds. - `grim` and recorders work too; see [Screen capture](capture.md). ## Input scripts `--input `, or `--input -` for stdin, plays one command per line: | Command | Effect | |---|---| | `type ` | Type text | | `key Super+Return` | Press a key, with optional Shift, Ctrl, Alt or Super | | `hold Super+h 1s` | Press a key like `key`, hold it, then release it | | `sleep 1s` | Wait | | `move ` | Move the pointer, in output coordinates | | `click [left\|right\|middle]`, `down