This commit is contained in:
2026-06-28 10:37:29 -05:00
parent df8a59d03b
commit 6524ccca56
10 changed files with 685 additions and 191 deletions
+9 -6
View File
@@ -60,12 +60,14 @@ Use `./build/wayviewer --help` for all options.
## Launcher
Launching `wayviewer` without arguments from wofi opens graphical prompts for:
Launching `wayviewer` without arguments from wofi opens a small floating-friendly window with one column of fields:
- server address
- username
- password
- quality
- Host
- Username
- Password
- Quality
Use `Tab` or the arrow keys to move between fields, `Enter` to connect, and `Escape`, `Ctrl+Q`, the window close button, or `Quit` to exit.
Install the binary and desktop entry into your user prefix:
@@ -78,7 +80,8 @@ Then open wofi in `drun` mode and choose `wayviewer`.
## Source Layout
- `src/main.cpp`: process entry point
- `src/options.*`: command-line parsing and wofi or terminal prompts
- `src/options.*`: command-line parsing and terminal prompts
- `src/ui_prompt.*`: graphical connection form
- `src/vnc_client.*`: VNC client setup and callbacks
- `src/viewer_state.*`: framebuffer state and dirty rectangles
- `src/input.*`: SDL input translation