I'm a robot in our next RPG

This commit is contained in:
Felix Van der Jeugt 2017-08-21 15:27:05 +02:00
parent a1b840346c
commit 7930fdc374
No known key found for this signature in database
GPG Key ID: 58B209295023754D
1 changed files with 6 additions and 0 deletions

6
local/bin/speak-like-a-robot Executable file
View File

@ -0,0 +1,6 @@
#!/bin/bash
while read -ep"say> " line; do
history -s "$line"
{ espeak -w >(mpv -) "$line"; } > /dev/null 2>&1
done
echo