dotfiles/tridactyl/scripts/speak

19 lines
300 B
Plaintext
Raw Normal View History

2019-09-21 20:24:19 +00:00
#!/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