Added actual script.

This commit is contained in:
James Patrick 2019-09-21 16:24:19 -04:00
parent abd085d1ed
commit 5760e74477

18
tridactyl/scripts/speak Executable file
View File

@ -0,0 +1,18 @@
#!/bin/bash
message="$@"
case "$OSTYPE" in
darwin*)
say "$message"
;;
linux*)
mimic \
--setf duration_stretch=0.5 \
-t "$message" \
-voice 'slt_hts'
#-voice 'kal16'
;;
*)
echo "unsupported OS"
esac