aboutsummaryrefslogtreecommitdiff
path: root/scripts/start-replay.sh
blob: 2093c9878ed84c92462748bff7c6b1c3c02e716a (plain)
1
2
3
4
5
6
#!/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"