Add X11 daemon with tray status
This commit is contained in:
parent
3506770d09
commit
a7f50fed75
19 changed files with 1202 additions and 4 deletions
7
lel.sh
7
lel.sh
|
|
@ -27,8 +27,8 @@ ffmpeg_input_args() {
|
|||
|
||||
mkdir -p "$outdir"
|
||||
|
||||
echo "Recording from: $FFMPEG_IN"
|
||||
echo "Press Enter to stop..."
|
||||
echo "Recording from: $FFMPEG_IN" >&2
|
||||
echo "Press Enter to stop..." >&2
|
||||
ffmpeg -hide_banner -loglevel error \
|
||||
$(ffmpeg_input_args "$FFMPEG_IN") \
|
||||
-ac 1 -ar 16000 -c:a pcm_s16le "$wav" &
|
||||
|
|
@ -57,6 +57,5 @@ whisper "$wav" \
|
|||
txt="$outdir/$(basename "$wav" .wav).txt"
|
||||
text="$(cat "$txt")"
|
||||
|
||||
echo
|
||||
echo >&2
|
||||
echo "$text"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue