diff options
Diffstat (limited to 'scripts/start-replay.sh')
-rwxr-xr-x | scripts/start-replay.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/start-replay.sh b/scripts/start-replay.sh index e36d59d..860f2ce 100755 --- a/scripts/start-replay.sh +++ b/scripts/start-replay.sh @@ -1,5 +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 "$(pactl get-default-sink).monitor" -c mkv -r 30 -o "$video_path" +gpu-screen-recorder -w screen -f 60 -a default_output -c mkv -r 30 -o "$video_path" |