Add script to save recording, only show saved notification if gpu screen recorder was running when saving

This commit is contained in:
dec05eba
2024-05-10 01:32:20 +02:00
parent f1eb893493
commit d690bbca35
3 changed files with 5 additions and 3 deletions

View File

@@ -1,4 +1,3 @@
#!/bin/sh -e
killall -SIGUSR1 gpu-screen-recorder
notify-send -t 1500 -u low -- "GPU Screen Recorder" "Replay saved"
killall -SIGUSR1 gpu-screen-recorder && sleep 0.5 && notify-send -t 1500 -u low -- "GPU Screen Recorder" "Replay saved"