4 ms·
You want to use wf-recorder. This is in my sway config: > set $screenrecord wf-recorder -g "$(slurp)" -f ~/screenshots/mov-$(date +"%Y-%m-%d--%H-%M-%S.mp4")
by tonyhb 6y ago
You want to use wf-recorder. This is in my sway config:
> set $screenrecord wf-recorder -g "$(slurp)" -f ~/screenshots/mov-$(date +"%Y-%m-%d--%H-%M-%S.mp4")
> bindsym Shift+Control+F6 exec $screenrecord
> bindsym Ctrl+Shift+BackSpace exec killall -s SIGINT wf-recorder
Hitting shift-control-f6 will spawn slurp which lets you click and drag to set the area you want to record. This will then launch wf-recorder and record the selected area, saving to ~/screenshots/mov-${date}. You can use ctrl-shift-backspace to kill the recorder and end recording.
https://github.com/ammen99/wf-recorder https://github.com/ammen99/wf-recorder
https://github.com/emersion/slurp https://github.com/emersion/slurp
- EnigmaCurry 6y agosweet, thanks