https://github.com/depau/sway_vnc_setup
Simple set of scripts to bring up a VNC server on Sway over SSH
https://github.com/depau/sway_vnc_setup
Last synced: about 1 year ago
JSON representation
Simple set of scripts to bring up a VNC server on Sway over SSH
- Host: GitHub
- URL: https://github.com/depau/sway_vnc_setup
- Owner: depau
- License: gpl-3.0
- Created: 2020-08-02T14:38:35.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-08-02T16:56:52.000Z (about 6 years ago)
- Last Synced: 2025-03-04T19:45:09.694Z (over 1 year ago)
- Language: Shell
- Homepage:
- Size: 17.6 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Sway VNC setup scripts
Simple script to aid bringing up a VNC server for Sway, remotely.
## Dependencies
- dialog (cdialog, terminal UI)
- wayvnc (VNC server)
- jq (for parsing swaymsg output)
- iproute2 (for listen address choices)
- sway (of course)
Since it uses `swaymsg` to probe for displays, it is only compatible with Sway.
If you want to make it compatible with all wlroots-based compositors by probing
the output manager Wayland protocol you can send me a pull request.
## sway_env
The repo includes a `sway_env` and `sway_env.fish` script that automates "stealing"
the environment variables from programs running under Sway to be able to run `swaymsg`
from SSH.
You can source it from a shell to have the needed variables exported.