aboutsummaryrefslogtreecommitdiff
path: root/scripts/start-replay.sh
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2023-02-27 16:33:29 +0100
committerdec05eba <dec05eba@protonmail.com>2023-02-27 16:33:29 +0100
commit03e583e61e4cc28fa614dcd981d093ede0b3dd62 (patch)
tree462fde1d3b9ff853439e3936dbd65080a46ba9b1 /scripts/start-replay.sh
parent50afa9395b6ed82b6499bbad68f4c4780b4f1a76 (diff)
Add replay scripts
Diffstat (limited to 'scripts/start-replay.sh')
-rwxr-xr-xscripts/start-replay.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/start-replay.sh b/scripts/start-replay.sh
new file mode 100755
index 0000000..29ff67a
--- /dev/null
+++ b/scripts/start-replay.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+video_path="$HOME/Videos"
+mkdir -p "$video_path"
+gpu-screen-recorder -w screen -f 60 -a "$(pactl get-default-sink).monitor" -c mp4 -r 30 -o "$video_path"