updated README/TTS

This commit is contained in:
Eric Lay 2023-04-20 11:18:01 -05:00
parent 815fd0118e
commit fcfee55142
2 changed files with 9 additions and 6 deletions

View File

@ -11,8 +11,10 @@ https://github.com/rmccorm4/Pokefetch
## To-do ## To-do
* [ ] Make sure it works for every single pokemon * [ ] Rewrite arg parsing loop
* [ ] Get higher quality images to output if possible * [ ] Drop `echo`, use `printf` instead
* [ ] Scrape more relevant information about the pokemon * [ ] Rewrite to use `PokeAPI` as data source
* [ ] Rewrite scraping method to use [Bulbapedia](http://bulbapedia.bulbagarden.net) * [ ] Refactor to allow user to choose local data source or from web
* [ ] Get sprites from `PokeAPI` if possible
* [ ] Work on TTS to read entries
* [ ] Add `ripgrep` to filter on various attributes

View File

@ -30,10 +30,11 @@ pokedex() {
--info=inline:' 󰨉 ' \ --info=inline:' 󰨉 ' \
--color='fg+:15,fg:42,preview-fg:15,label:9,preview-label:15,hl+:134,hl:123,query:134,gutter:0,border:9,prompt:15,pointer:15,marker:15' \ --color='fg+:15,fg:42,preview-fg:15,label:9,preview-label:15,hl+:134,hl:123,query:134,gutter:0,border:9,prompt:15,pointer:15,marker:15' \
--tiebreak=begin,chunk,length \ --tiebreak=begin,chunk,length \
--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" \ --preview="echo; pokemon-colorscripts -n {1} --no-title; cat $POKEDATA/{1}" \
--preview-window=68%:wrap:border-rounded \ --preview-window=68%:wrap:border-rounded \
--bind=focus:transform-preview-label:'echo [ {1} ] ' \ --bind=focus:transform-preview-label:'echo [ {1} ] ' \
--bind=ctrl-h:preview:"echo; pokedex -h;" \ --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=ctrl-b:preview:"echo; pokemon-colorscripts -b -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-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};" | --bind=ctrl-n:preview:"echo; pokemon-colorscripts -n {1} --no-title; cat $POKEDATA/{1};" |