2 ms·
Personally I don't bother with a virtual display. I automatically set my display scale to 2x when I start screen sharing. I set that up with exec_before and exe
by craftkiller 2y ago
Personally I don't bother with a virtual display. I automatically set my display scale to 2x when I start screen sharing. I set that up with exec_before and exec_after hooks in xdg-desktop-portal-wlr[0]. In addition to turning off my notification daemon (so my email/instant message notifications don't pop up), my exec_before/exec_after scripts just run:
swaymsg output "MY-MONITOR" scale 2 # or 1 for exec_after
With that, everything puffs up big and readable when I'm screensharing and seamlessly shrinks back down when I stop screen sharing. No need to juggle windows around to different displays.
[0] https://man.archlinux.org/man/extra/xdg-desktop-portal-wlr/xdg-desktop-portal-wlr.5.en https://man.archlinux.org/man/extra/xdg-desktop-portal-wlr/x...