From d8441086d921587f60d40761f48cf1149ef85a3d Mon Sep 17 00:00:00 2001 From: Eric Lay Date: Thu, 20 Apr 2023 11:29:05 -0500 Subject: [PATCH] TTS initial functionality --- pokedex | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pokedex b/pokedex index d2c7990..68c9276 100755 --- a/pokedex +++ b/pokedex @@ -34,7 +34,8 @@ pokedex() { --preview-window=68%:wrap:border-rounded \ --bind=focus:transform-preview-label:'echo [ {1} ] ' \ --bind=ctrl-h:preview:"echo; pokedex -h;" \ - --bind=space:"execute-silent(espeak-ng -f ./pokeData/{1} -g 2 -p 45 -s 160 -l 150 -ven+m3 & )" \ + --bind=space:preview:"echo; pokemon-colorscripts -n {1} --no-title; cat $POKEDATA/{1}; espeak-ng -f ./pokeData/{1} -g 2 -p 45 -s 160 -l 150 -ven+m3" \ + --bind=ctrl-space:preview:"echo; pokemon-colorscripts -n {1} --no-title; cat $POKEDATA/{1};" \ --bind=ctrl-b:preview:"echo; pokemon-colorscripts -b -n {1} --no-title; cat $POKEDATA/{1};" \ --bind=ctrl-s:preview:"echo; pokemon-colorscripts -s -n {1} --no-title; cat $POKEDATA/{1};" \ --bind=ctrl-n:preview:"echo; pokemon-colorscripts -n {1} --no-title; cat $POKEDATA/{1};" |