ttsui/ttsui-speak.sh

5 lines
310 B
Bash
Executable file

#!/bin/sh
# This is wrapper I use to assign proper espeak data path bunled with kokoros and pipe in my selected
# input text, this can be bound in your WM to a keyboard shorcut like alt+return in my case
export ESPEAK_DATA_PATH="$HOME/.local/share/espeak-ng-data"
wl-paste --primary | "$HOME/.local/bin/ttsui"