Fallback to restart user session #1
|
@ -176,10 +176,10 @@ if [ $? = 0 ]; then
|
||||||
printwc "${Green}" "Completed script!\n\n"
|
printwc "${Green}" "Completed script!\n\n"
|
||||||
printwc "${Blue}" "Usage:\n"
|
printwc "${Blue}" "Usage:\n"
|
||||||
printwc "${Purple}" " nerd-dictation begin &\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}" " nerd-dictation end\n"
|
||||||
printwc "${Purple}" "\nReload user shell\n"
|
printwc "${Yellow}" "\nPlease, logout your desktop session and log back in.\n"
|
||||||
su - $USER
|
printwc "${Yellow}" "For nerd-dictation to work properly.\n"
|
||||||
else
|
else
|
||||||
printwc "${Red}" "Something went wrong please check the previous output.\n"
|
printwc "${Red}" "Something went wrong please check the previous output.\n"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue