aboutsummaryrefslogtreecommitdiff
path: root/scripts
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
parent4b28221a77cd1407208793cc84cfe4014607f3db (diff)
scripts: change notify-send timeout to 1.5 seconds
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/save-replay.sh2
-rwxr-xr-xscripts/toggle-recording-selected.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/scripts/save-replay.sh b/scripts/save-replay.sh
index eac9141..4c62750 100755
--- a/scripts/save-replay.sh
+++ b/scripts/save-replay.sh
@@ -1,4 +1,4 @@
#!/bin/sh -e
killall -SIGUSR1 gpu-screen-recorder
-notify-send -t 5000 -u low -- "GPU Screen Recorder" "Replay saved"
+notify-send -t 1500 -u low -- "GPU Screen Recorder" "Replay saved"
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"