aboutsummaryrefslogtreecommitdiff
path: root/scripts/toggle-recording-selected.sh
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-04-26 22:12:10 +0200
committerdec05eba <dec05eba@protonmail.com>2024-04-26 22:12:10 +0200
commitbb6c38f5070297595d15c98b1ed72a06280cea63 (patch)
tree057996e61ed5c495e77a530d774f4c2bf0bad1d4 /scripts/toggle-recording-selected.sh
parent4b28221a77cd1407208793cc84cfe4014607f3db (diff)
scripts: change notify-send timeout to 1.5 seconds
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 f87f71c..dcc1ac4 100755
--- a/scripts/toggle-recording-selected.sh
+++ b/scripts/toggle-recording-selected.sh
@@ -5,5 +5,5 @@ window=$(xdotool selectwindow)
active_sink="$(pactl get-default-sink).monitor"
mkdir -p "$HOME/Videos"
video="$HOME/Videos/$(date +"Video_%Y-%m-%d_%H-%M-%S.mp4")"
-notify-send -t 5000 -u low 'GPU Screen Recorder' "Started recording video to $video"
+notify-send -t 1500 -u low 'GPU Screen Recorder' "Started recording video to $video"
gpu-screen-recorder -w "$window" -c mp4 -f 60 -a "$active_sink" -o "$video"