commit a46cadeb314437b824547f0cbc0988623ae2f8e7
parent 893180d1343494a80b453aa862045ab405b18b9b
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Thu, 12 Mar 2020 17:49:39 +0100
Shorten delay before checking screenrecord output file
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.local/bin/screenrecord b/.local/bin/screenrecord
@@ -14,7 +14,7 @@ startrecording() {
"$out" >/dev/null 2>&1 &
printf '%s' "$!" > "$lockfile"
- sleep 2
+ sleep 1
if [ ! -f "$out" ]; then
echo 'error: ffmpeg recording did not start' >&2
notify-send -u CRITICAL "${0##*/}" 'ffmpeg recording did not start'