Clipboard reader now respects the rate set in speech-dispatcher with spd-conf.

This commit is contained in:
stormdragon2976 2023-03-06 21:00:46 -05:00
parent 172f5482d0
commit 478bdeadf0

View File

@ -27,7 +27,7 @@ while pgrep -u "$USER" ^$1 &> /dev/null ; do
if [[ -w "${socketFile}" ]]; then
echo "<#APPEND#>$cliptext" | socat - UNIX-CLIENT:"${socketFile}"
else
spd-say -w -r 50 -- "$cliptext"
spd-say -w -- "$cliptext"
fi
fi
else
@ -37,7 +37,7 @@ while pgrep -u "$USER" ^$1 &> /dev/null ; do
if [[ -w "${socketFile}" ]]; then
echo "$cliptext" | socat - UNIX-CLIENT:"${socketFile}"
else
spd-say -r 50 -- "$cliptext"
spd-say -- "$cliptext"
fi
fi
fi