aboutsummaryrefslogtreecommitdiff
path: root/scripts/save-replay.sh
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-05-10 01:32:20 +0200
committerdec05eba <dec05eba@protonmail.com>2024-05-10 01:32:20 +0200
commitd690bbca35f35ddb7ab47562e22fc4f36501b455 (patch)
treee401917e055872be6bf683b5816262a37dbb7290 /scripts/save-replay.sh
parentf1eb8934930d0bb5e4f64ce24ca9971f0655c04f (diff)
Add script to save recording, only show saved notification if gpu screen recorder was running when saving
Diffstat (limited to 'scripts/save-replay.sh')
-rwxr-xr-xscripts/save-replay.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/save-replay.sh b/scripts/save-replay.sh
index 4c62750..f9390aa 100755
--- a/scripts/save-replay.sh
+++ b/scripts/save-replay.sh
@@ -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"