dotfiles/templates/bin/record-screen

5 lines
115 B
Bash
Executable file

#!/bin/sh
outfile="$(date +"%Y-%m-%d %T").mkv"
wf-recorder -g "$(slurp -o)" -D -F "format=yuv420p" -f "$outfile"