applet: print strerror and exit if execlp() fails
[espeaktime] / src / espeaktime-now.sh
1 #!/bin/sh
2
3 fname=/tmp/espeaktime-$$.wav
4 espeak -w $fname $(date "+%H:%M")
5
6 export PULSE_PROP="module-stream-restore.id=x-maemo-applet-profiles event.id=ringtone-preview"
7 nice -n -5 play-sound $fname
8
9 rm -f $fname