Add usage instructions
This commit is contained in:
parent
6b0e2d3e48
commit
a5eb1da090
|
@ -38,7 +38,8 @@ printf '
|
|||
# - https://forge.switnet.net/Ark74/simple-nerd-dictation-installer
|
||||
#
|
||||
# Nerd Dictation repo at:
|
||||
# - https://github.com/ideasman42/nerd-dictation\n\n'
|
||||
# - https://github.com/ideasman42/nerd-dictation
|
||||
\n'
|
||||
|
||||
if [ "$(id -u)" = 0 ]; then
|
||||
printwc "${Yellow}" "Please don't use with root privileges, sudo will be used only when necessary!"
|
||||
|
@ -170,9 +171,14 @@ print_title "Setup local bin for nerd-dictation"
|
|||
#--------------------------------------------------
|
||||
[ ! -d "$HOME"/.local/bin ] && mkdir "$HOME"/.local/bin
|
||||
ln -s "$HOME"/.local/nerd-dictation/nerd-dictation "$HOME"/.local/bin
|
||||
source "$HOME"/.bashrc
|
||||
|
||||
if [ $? = 0 ]; then
|
||||
printwc "${Green}" "Completed script!\nPlease exit and login for nerd-dictation to be used on the terminal.\n"
|
||||
printwc "${Green}" "Completed script!"
|
||||
printwc "${Blue}" "Usage:"
|
||||
printwc "${Purple}" " nerd-dictation begin --vosk-model-dir=./model &"
|
||||
printwc "${Cyan}" " # Start speaking."
|
||||
printwc "${Purple}" " nerd-dictation end"
|
||||
else
|
||||
printwc "${Red}" "Something went wrong please check the previous output.\n"
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue