2 ms·
To make the selection interactive, the command becomes: geo=$(slop -f '%w/1x%h/1+%x+%y') && xrandr --setmonitor screenshare "$geo" none
by Liskni_si 2y ago
To make the selection interactive, the command becomes:
geo=$(slop -f '%w/1x%h/1+%x+%y') && xrandr --setmonitor screenshare "$geo" none
- Liskni_si 2y agoAlso looks like one can just do xrandr --delmonitor screenshare before this to seamlessly update the shared region — Chrome will immediately pick up the change and continue sharing the updated virtual monitor.