scripts: change notify-send timeout to 1.5 seconds

This commit is contained in:
dec05eba
2024-04-26 22:12:10 +02:00
parent 4b28221a77
commit bb6c38f507
2 changed files with 2 additions and 2 deletions

View File

@@ -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"