Compare commits

...

3 Commits

Author SHA1 Message Date
Luis Guzmán 552e8303a6 Fallback to restart user session
Reviewed-on: #1
2023-10-25 06:02:09 +00:00
Luis Guzmán ae9e504a32 Fallback to restart user session. 2023-10-25 00:00:36 -06:00
Luis Guzmán 20cff1353a test reload shell 2023-10-24 23:03:05 -06:00
1 changed files with 5 additions and 4 deletions

View File

@ -173,12 +173,13 @@ print_title "Setup local bin for nerd-dictation"
ln -s "$HOME"/.local/nerd-dictation/nerd-dictation "$HOME"/.local/bin
if [ $? = 0 ]; then
printwc "${Green}" "Completed script!\n"
printwc "${Green}" "Completed script!\n\n"
printwc "${Blue}" "Usage:\n"
printwc "${Purple}" " nerd-dictation begin --vosk-model-dir=./model &\n"
printwc "${Purple}" " nerd-dictation begin &\n"
printwc "${Cyan}" " # Start speaking.\n"
printwc "${Purple}" " nerd-dictation end\n"
su - $USER
printwc "${Yellow}" "\nPlease, logout your desktop session and log back in.\n"
printwc "${Yellow}" "For nerd-dictation to work properly.\n"
else
printwc "${Red}" "Something went wrong please check the previous output.\n"
fi