From 865728068c965e066d0f8971c5b5ba26e12e7dce Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Thu, 24 Dec 2020 00:06:27 +0530 Subject: Adds scripts and links scripts and wallpapers --- scripts/recording/screenrecord.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 scripts/recording/screenrecord.sh (limited to 'scripts/recording/screenrecord.sh') diff --git a/scripts/recording/screenrecord.sh b/scripts/recording/screenrecord.sh new file mode 100755 index 0000000..bc5d6a3 --- /dev/null +++ b/scripts/recording/screenrecord.sh @@ -0,0 +1,7 @@ +#!/usr/bin/env bash + +prefix=${2:-"video"}; + +outfile=${1:-"$HOME/Pictures/recordings/$prefix-screen-$(date -Iminutes).mp4"}; + +ffmpeg -f x11grab -s 1920x1080 -i :0.0 -f alsa -i hw:0,0 $outfile; -- cgit v1.3.1