Add X11 daemon with tray status

This commit is contained in:
Thales Maciel 2026-02-06 11:36:45 -03:00
parent 3506770d09
commit a7f50fed75
19 changed files with 1202 additions and 4 deletions

7
lel.sh
View file

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