Remove old script, in start-replay script dont start if gpu screen recorder is already running

This commit is contained in:
dec05eba
2024-07-23 01:50:06 +02:00
parent e9343cce91
commit da73b3ac63
3 changed files with 2 additions and 7 deletions

View File

@@ -1,5 +1,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"