From 3fe5dd87a49d461b24499cb64bad90c0e4ca48ca Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Thu, 5 Jul 2018 10:02:22 -0400 Subject: [PATCH] Trying to make sound files play nicely with pulse. --- src/talking-clock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/talking-clock b/src/talking-clock index 9e1adc4..794db1f 100755 --- a/src/talking-clock +++ b/src/talking-clock @@ -401,7 +401,7 @@ if [ "$speakTime" == "true" ] ; then "gama_tts") gama_tts_wav="$(mktemp --suffix gama_talking_clock.wav)" echo "$timeString" | gama_tts tts "${gama_tts_path:-/usr/local/share/gama_tts/data/english/vtm5}" $gama_tts_wav &> /dev/null - $soundCommand $gama_tts_wav + XDG_RUNTIME_DIR=/run/user/$UID $soundCommand $gama_tts_wav rm $gama_tts_wav ;; "googletts")