applet: populate UI fields from config
[espeaktime] / src / espeaktime-now.sh
index 39db02a..fe3c90a 100755 (executable)
@@ -2,5 +2,8 @@
 
 fname=/tmp/espeaktime-$$.wav
 espeak -w $fname $(date "+%H:%M")
-gst-play-event file://${fname} ringtone-preview
+
+export PULSE_PROP="module-stream-restore.id=x-maemo-applet-profiles event.id=ringtone-preview"
+nice -n -5 play-sound $fname
+
 rm -f $fname