From 458afc02f9e6b2282fcb6dcd816088c4c7e598ea Mon Sep 17 00:00:00 2001 From: Ione 15 <> Date: Sun, 16 Jun 2024 19:55:41 +0200 Subject: [PATCH] adding upload script --- spectacle_record.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 spectacle_record.sh diff --git a/spectacle_record.sh b/spectacle_record.sh new file mode 100755 index 0000000..a8b4b78 --- /dev/null +++ b/spectacle_record.sh @@ -0,0 +1,7 @@ +#!/bin/sh +script_dir="$(dirname "$(realpath "$0")")" #DONOTMODIFY +UPLOAD_SCRIPT_PATH="${script_dir}/plasma_upload.sh" #Only modify if you changed the upload script name or path +TEMP_VIDEO_PATH="/tmp/ion.webm" + +spectacle -bn -R r -o $TEMP_VIDEO_PATH +"${UPLOAD_SCRIPT_PATH}" $TEMP_VIDEO_PATH