configuration/local/bin/speak-like-a-robot

7 lines
129 B
Plaintext
Raw Normal View History

2017-08-21 15:27:05 +02:00
#!/bin/bash
while read -ep"say> " line; do
history -s "$line"
{ espeak -w >(mpv -) "$line"; } > /dev/null 2>&1
done
echo