diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-05-10 01:32:20 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-05-10 01:32:20 +0200 |
commit | d690bbca35f35ddb7ab47562e22fc4f36501b455 (patch) | |
tree | e401917e055872be6bf683b5816262a37dbb7290 /scripts/save-recording.sh | |
parent | f1eb8934930d0bb5e4f64ce24ca9971f0655c04f (diff) |
Add script to save recording, only show saved notification if gpu screen recorder was running when saving
Diffstat (limited to 'scripts/save-recording.sh')
-rwxr-xr-x | scripts/save-recording.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/save-recording.sh b/scripts/save-recording.sh new file mode 100755 index 0000000..90fefc1 --- /dev/null +++ b/scripts/save-recording.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +killall -SIGINT gpu-screen-recorder && sleep 0.5 && notify-send -t 1500 -u low "GPU Screen Recorder" "Recording saved" |