faster beep
This commit is contained in:
parent
f5f9d96019
commit
170ae7cb94
BIN
beep-01a.mp3
BIN
beep-01a.mp3
Binary file not shown.
2
scan.sh
2
scan.sh
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user