From 815fd0118e8f93e41aee48fc810c888f3546c68e Mon Sep 17 00:00:00 2001 From: Eric Lay Date: Thu, 20 Apr 2023 10:38:20 -0500 Subject: [PATCH] TTS testing --- PKGBUILD | 15 +++++++-------- pokedex | 2 +- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index f11758f..945c563 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,30 +1,29 @@ # Maintainer: Eric Lay -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" } diff --git a/pokedex b/pokedex index 4274c50..bef30c6 100755 --- a/pokedex +++ b/pokedex @@ -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;" \