Files
gpu-screen-recorder/scripts/start-replay.sh

7 lines
204 B
Bash
Executable File

#!/bin/sh
pidof -q gpu-screen-recorder && exit 1
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"