diff --git a/speech/set-voice.sh b/speech/set-voice.sh index 91367bc..4712eac 100755 --- a/speech/set-voice.sh +++ b/speech/set-voice.sh @@ -52,7 +52,7 @@ export DIALOGOPTS='--insecure --no-lines --visit-items' # Get the desired wine bottle declare -a bottle -for i in $(find ~/.local/wine -maxdepth 1 -type d -not -name 'wine' | sort) ; do +for i in $(find ~/.local/wine/ -maxdepth 1 -type d -not -name 'wine' | sort) ; do bottle+=("$i" "${i##*/}") done export WINEPREFIX="$(dialog --backtitle "Use the up and down arrow keys to find the option you want, then press enter to select it." \