diff --git a/README.md b/README.md index 96cf890..efa91e2 100644 --- a/README.md +++ b/README.md @@ -11,8 +11,10 @@ https://github.com/rmccorm4/Pokefetch ## To-do -* [ ] Make sure it works for every single pokemon -* [ ] Get higher quality images to output if possible -* [ ] Scrape more relevant information about the pokemon -* [ ] Rewrite scraping method to use [Bulbapedia](http://bulbapedia.bulbagarden.net) - +* [ ] Rewrite arg parsing loop +* [ ] Drop `echo`, use `printf` instead +* [ ] Rewrite to use `PokeAPI` as data source +* [ ] 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 diff --git a/pokedex b/pokedex index bef30c6..d2c7990 100755 --- a/pokedex +++ b/pokedex @@ -30,10 +30,11 @@ pokedex() { --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' \ --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 \ --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=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};" |