From dbb7c815e82835357837bd441528381f90513266 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Thu, 5 Jul 2018 22:25:07 -0400 Subject: [PATCH] Another attempt at making sound playing play nice with pulse. --- src/talking-clock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/talking-clock b/src/talking-clock index 794db1f..7205a15 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 - XDG_RUNTIME_DIR=/run/user/$UID $soundCommand $gama_tts_wav + eval "$soundCommand $gama_tts_wav" rm $gama_tts_wav ;; "googletts")