aboutsummaryrefslogtreecommitdiff
path: root/scripts/toggle-recording-selected.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/toggle-recording-selected.sh')
-rwxr-xr-xscripts/toggle-recording-selected.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/toggle-recording-selected.sh b/scripts/toggle-recording-selected.sh
index dcc1ac4..309e4d1 100755
--- a/scripts/toggle-recording-selected.sh
+++ b/scripts/toggle-recording-selected.sh
@@ -1,6 +1,6 @@
#!/bin/sh -e
-killall -INT gpu-screen-recorder && notify-send -u low 'GPU Screen Recorder' 'Stopped recording' && exit 0;
+killall -SIGINT gpu-screen-recorder && sleep 0.5 && notify-send -t 1500 -u low 'GPU Screen Recorder' 'Stopped recording' && exit 0;
window=$(xdotool selectwindow)
active_sink="$(pactl get-default-sink).monitor"
mkdir -p "$HOME/Videos"