From bb6c38f5070297595d15c98b1ed72a06280cea63 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Fri, 26 Apr 2024 22:12:10 +0200 Subject: scripts: change notify-send timeout to 1.5 seconds --- scripts/save-replay.sh | 2 +- scripts/toggle-recording-selected.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts') 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" -- cgit v1.2.3