aboutsummaryrefslogtreecommitdiff
path: root/scripts/start-stop-recording.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/start-stop-recording.sh')
-rwxr-xr-xscripts/start-stop-recording.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/start-stop-recording.sh b/scripts/start-stop-recording.sh
index bbcd27f..775a829 100755
--- a/scripts/start-stop-recording.sh
+++ b/scripts/start-stop-recording.sh
@@ -4,7 +4,7 @@
# if it's already recording. This script can be bound to a single hotkey
# to start/stop recording with a single hotkey.
-killall -SIGINT -q gpu-screen-recorder && exit 1
+killall -SIGINT -q gpu-screen-recorder && exit 0
video="$HOME/Videos/$(date +"Video_%Y-%m-%d_%H-%M-%S.mp4")"
gpu-screen-recorder -w screen -f 60 -a default_output -o "$video"
notify-send -t 2000 -u low "GPU Screen Recorder" "Video saved to $video"