TTS testing

This commit is contained in:
Eric Lay 2023-04-20 10:38:20 -05:00
parent 3da2c32098
commit 815fd0118e
2 changed files with 8 additions and 9 deletions

View File

@ -1,30 +1,29 @@
# Maintainer: Eric Lay <ericlaytm@gmail.com>
pkgname=fuzzy-pokedex-git
_pkgname=fuzzy-pokedex
pkgname=fuzzy-pokedex
pkgver=r16.0c9b118
pkgrel=1
pkgdesc="A Pokedex for your terminal"
arch=('any')
url="https://github.com/ericlay/$_pkgname"
url="https://github.com/ericlay/fuzzy-pokedex"
license=('GPL3')
depends=('python-beautifulsoup4'
'fzf'
'parallel'
'espeak-ng'
'pokemon-colorscripts-git'
'ttf-font-nerd')
makedepends=('git')
source=("git+$url.git")
source=("git+https://github.com/ericlay/fuzzy-pokedex.git")
md5sums=('SKIP')
pkgver(){
cd "$_pkgname"
cd "$pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd "$srcdir/$_pkgname"
mkdir -p "$pkgdir/usr/share/$_pkgname/pokeData"
install -Dm666 pokeData/* -t "$pkgdir/usr/share/$_pkgname/pokeData"
cd "$srcdir/$pkgname"
install -Dm666 pokeData/* -t "$pkgdir/usr/share/$pkgname/pokeData"
install -Dm755 pokedex -t "$pkgdir/usr/bin"
install -Dm755 pokeInfo -t "$pkgdir/usr/bin"
}

View File

@ -30,7 +30,7 @@ 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}" \
--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-window=68%:wrap:border-rounded \
--bind=focus:transform-preview-label:'echo [ {1} ] ' \
--bind=ctrl-h:preview:"echo; pokedex -h;" \