From 6ab9064cc4859491bc3a7f7fe8d66e82c584284d Mon Sep 17 00:00:00 2001 From: Daniel Sissom Date: Thu, 3 Jan 2019 17:28:18 -0600 Subject: [PATCH] Added alias for text to speech. --- zshrc | 1 + 1 file changed, 1 insertion(+) diff --git a/zshrc b/zshrc index cd6c8ec..aba82df 100644 --- a/zshrc +++ b/zshrc @@ -359,6 +359,7 @@ alias fcomp='for i in *.flac; do ffprobe $i 2>&1 | grep -i composer; done' alias mic="echo \"Starting jack mic input with 'alsa_in -d hw:0 -r 192000 -c 2 -p 64 -n 3'\" && alsa_in -d hw:0 -r 192000 -c 2 -p 64 -n 3" make_thumbs() { vcsi -g 5x4 -w 1920 -t --grid-spacing 0 "$*"; } make_thumbs_big() { vcsi -g 5x20 -w 1920 -t --grid-spacing 0 "$*"; } +say() { echo "$@" | festival --tts; } # enable color support if [ -x /usr/bin/dircolors ]; then