daemon that reads keystrokes from /dev/input/event* and acts on the "multimedia keys"
[soepkiptng.git] / soepkiptng_say
blobf3ab49df1018f16207f7a3c8ebfeb82aee716a0b
1 #!/bin/sh
3 tmpfile=/tmp/soepkiptng_say.$$.wav
5 (head -9 /var/local/soepkiptng/soepkiptng.status | tail -1;
6 echo ...;
7 head -10 /var/local/soepkiptng/soepkiptng.status | tail -1) | text2wave -F 44100 -o $tmpfile
9 echo pause | socket -w -q localhost 2222
10 bplay $tmpfile
11 echo resume | socket -w -q localhost 2222
12 rm -f $tmpfile