From fb071d55999cd6fb172aad651084b51bea3649c3 Mon Sep 17 00:00:00 2001 From: eshrh Date: Thu, 11 Nov 2021 14:56:11 -0500 Subject: [PATCH] ames.sh: formatting --- ames.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ames.sh b/ames.sh index f656e92..a9e1a09 100755 --- a/ames.sh +++ b/ames.sh @@ -265,7 +265,8 @@ record() { -af "volume=${AUDIO_VOLUME},silenceremove=1:0:-50dB" \ -ab $AUDIO_BITRATE \ "$audioFile" 1>/dev/null & - echo "$!" >> "$recordingToggle" + + echo "$!" >> "$recordingToggle" if [[ "$LANG" == en* ]]; then notify-send --hint=int:transient:1 -t 500 -u normal "Recording started..." @@ -278,7 +279,7 @@ record() { local pid="$(sed -n "2p" "$recordingToggle")" rm "$recordingToggle" - kill -15 "$pid" + kill -15 "$pid" while [ $(du $audioFile | awk '{ print $1 }') -eq 0 ]; do true