Desktop Capture in Sway
This is really simple if one has wf-recorder
:
wf-recorder -f myrecordedscreen.mp4
Want to choose an output to record?
wf-recorder -f myrecordedscreen.mp4 --output DP-1
Only record a section of the screen, you will need to specify the geometry in
much the same way as you might for grim
using slurp
:
wf-recorder -f myrecordedscreen.mp4 -g "$(slurp)"