summaryrefslogtreecommitdiff
path: root/scripts/start-replay.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/start-replay.sh')
-rwxr-xr-xscripts/start-replay.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/start-replay.sh b/scripts/start-replay.sh
new file mode 100755
index 0000000..d47a614
--- /dev/null
+++ b/scripts/start-replay.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+pidof -q gpu-screen-recorder && exit 0
+video_path="$HOME/Videos"
+mkdir -p "$video_path"
+gpu-screen-recorder -w screen -f 60 -a default_output -c mkv -bm cbr -q 40000 -r 30 -o "$video_path"