dots-of-war/eggs/scripts/screenrecorder.sh

8 lines
167 B
Bash
Raw Permalink Normal View History

2024-12-05 21:10:22 +00:00
#!/bin/dash
if [ -z "$1" ]; then
echo "usage: screenrecorder.sh <output-file-path>"
exit 1
fi
ffmpeg -video_size 2560x1080 -framerate 25 -f x11grab -i :0.0 "$1"