Fallback to restart user session.

This commit is contained in:
Luis Guzmán 2023-10-25 00:00:36 -06:00
parent 20cff1353a
commit ae9e504a32
1 changed files with 3 additions and 3 deletions

View File

@ -176,10 +176,10 @@ if [ $? = 0 ]; then
printwc "${Green}" "Completed script!\n\n"
printwc "${Blue}" "Usage:\n"
printwc "${Purple}" " nerd-dictation begin &\n"
printwc "${Cyan}" " # Start speaking. #\n"
printwc "${Cyan}" " # Start speaking.\n"
printwc "${Purple}" " nerd-dictation end\n"
printwc "${Purple}" "\nReload user shell\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