Screen Sharing with Sway
Sway is a wl-roots compositor (maybe that should be the wl-roots repository).
/usr/lib/xdg-desktop-portal-wlr --replace
/usr/lib/xdg-desktop-portal --replace
Configuring
These options can be moved and this does not seem to work when only one display is connected... makes sense.
BEMENU_OPTS="--fixed-height --fn "Anonymous Pro 12" --center --list 10 --line-height 25"
File located ~/.config/xdg-desktop-portal-wlr/config
[screencast]
chooser_type=simple
chooser_cmd=bemenu --prompt="Output to share: "
Testing It
Firefox and Chrome both have the WebRTC features and so this is probably a good test.
I found a site that seems to be quite good deskshare.io. I might have a go at implementing this myself at some time, it may not be possible without a little bit of remote programmability but WebRTC should be peer to peer so the server load should be minimal.