Add replay scripts
This commit is contained in:
4
scripts/save-replay.sh
Executable file
4
scripts/save-replay.sh
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/bin/sh -e
|
||||
|
||||
killall -SIGUSR1 gpu-screen-recorder
|
||||
notify-send -t 5000 -u low -- "GPU Screen Recorder" "Replay saved"
|
||||
5
scripts/start-replay.sh
Executable file
5
scripts/start-replay.sh
Executable file
@@ -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"
|
||||
3
scripts/stop-replay.sh
Executable file
3
scripts/stop-replay.sh
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
killall -SIGINT gpu-screen-recorder
|
||||
Reference in New Issue
Block a user