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

8 lines
164 B
Bash
Raw Normal View History

2020-10-30 22:02:38 +02:00
#! /bin/sh
[ -z "$1" ] && \
echo "usage: screenrecorder.sh <output-file-path>" && \
2020-06-21 12:41:26 +02:00
exit 1
2020-10-30 22:02:38 +02:00
ffmpeg -video_size 2560x1080 -framerate 25 -f x11grab -i :0.0 "$@"