info
Show window geometry and display server info.
No Bridge Required
This command works with any window — no Tauri bridge needed.
Usage
Options
| Option | Description | Default |
|---|---|---|
-t, --title <regex> |
Window title to match (required) | — |
--json |
Output as JSON | — |
Examples
Text output
JSON output
{
"windowId": "12345678",
"pid": 1234,
"name": "My Tauri App",
"x": 100,
"y": 50,
"width": 1920,
"height": 1080,
"displayServer": "x11"
}
Notes
- The
--titleflag accepts a regex pattern for matching - Window geometry includes decoration (title bar, borders)
- Display server is one of:
x11,wayland,darwin