faster beep

This commit is contained in:
Shihaam Abdul Rahman 2024-01-07 01:46:34 +05:00
parent f5f9d96019
commit 170ae7cb94
Signed by: shihaam
GPG Key ID: 6DA2E87EBC227636
3 changed files with 1 additions and 1 deletions

Binary file not shown.

BIN
beep.mp3 Normal file

Binary file not shown.

View File

@ -13,7 +13,7 @@ zbarcam $1 | while read line; do
if [[ $line == *:* ]]; then
code="${line#*:}"
echo "$code"
xdotool type --delay 0 "$code" & mpv --quiet --no-video beep-01a.mp3 >> /dev/null
xdotool type --delay 0 "$code" & mpv --quiet --no-video beep.mp3 >> /dev/null
xdotool key Return
fi
done