Fallback to restart user session #1

Merged
Ark74 merged 2 commits from reload_shell into main 2023-10-25 06:02:09 +00:00
1 changed files with 4 additions and 3 deletions
Showing only changes of commit 20cff1353a - Show all commits

View File

@ -173,11 +173,12 @@ 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 "${Cyan}" " # Start speaking.\n"
printwc "${Purple}" " nerd-dictation begin &\n"
printwc "${Cyan}" " # Start speaking. #\n"
printwc "${Purple}" " nerd-dictation end\n"
printwc "${Purple}" "\nReload user shell\n"
su - $USER
else
printwc "${Red}" "Something went wrong please check the previous output.\n"