Clipboard reader now respects the rate set in speech-dispatcher with spd-conf.
This commit is contained in:
parent
172f5482d0
commit
478bdeadf0
@ -27,7 +27,7 @@ while pgrep -u "$USER" ^$1 &> /dev/null ; do
|
|||||||
if [[ -w "${socketFile}" ]]; then
|
if [[ -w "${socketFile}" ]]; then
|
||||||
echo "<#APPEND#>$cliptext" | socat - UNIX-CLIENT:"${socketFile}"
|
echo "<#APPEND#>$cliptext" | socat - UNIX-CLIENT:"${socketFile}"
|
||||||
else
|
else
|
||||||
spd-say -w -r 50 -- "$cliptext"
|
spd-say -w -- "$cliptext"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
@ -37,7 +37,7 @@ while pgrep -u "$USER" ^$1 &> /dev/null ; do
|
|||||||
if [[ -w "${socketFile}" ]]; then
|
if [[ -w "${socketFile}" ]]; then
|
||||||
echo "$cliptext" | socat - UNIX-CLIENT:"${socketFile}"
|
echo "$cliptext" | socat - UNIX-CLIENT:"${socketFile}"
|
||||||
else
|
else
|
||||||
spd-say -r 50 -- "$cliptext"
|
spd-say -- "$cliptext"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user