From f297a92e05e3e57b1b9350b64c8407f4a1436f09 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Thu, 15 Aug 2024 19:53:07 +0200 Subject: Create example start recording script --- scripts/start-recording.sh | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 scripts/start-recording.sh (limited to 'scripts') diff --git a/scripts/start-recording.sh b/scripts/start-recording.sh new file mode 100755 index 0000000..455065e --- /dev/null +++ b/scripts/start-recording.sh @@ -0,0 +1,5 @@ +#!/bin/sh + +pidof -q gpu-screen-recorder && exit 1 +video="$HOME/Videos/$(date +"Video_%Y-%m-%d_%H-%M-%S.mp4")" +gpu-screen-recorder -w screen -f 60 -a "$(pactl get-default-sink).monitor" -o "$video" -- cgit v1.2.3