When there is the dust coming into your eyes, your tear glands system will work during the night. However, too much dust may causes the overwork of eyes normal system. Then the eye mucus will appear. You'd better go to see the doctor and accept the treatment which will be so easy.
Usually, mucus in the eyes may caused by allergies, sinus problems, or an eye infection etc. It is not a good sings. Here i know a home remedy which may help you. it is easy, you can use honey and water to help you. In fact, the combination of honey and water proves to be quite helpful to treat eye mucus. Just mix the honey and water then applying gently to the eyes. Hope it will work for you. Good luck.
Eye mucus is usually harmless and temporary, but sometimes it is an indicator of a more serious problem. Depending on why your eyes are producing eye mucus, there are different treatments available. Some of these can be performed at home, and others require a visit to your doctor. If the discharge is severe, ask your doctor about oral antibiotics or antibiotic eye drops to reduce the symptoms. Other steps you can take that are considered "at-home" methods include using a warm washcloth if your eyes are glued shut. The warmth of the washcloth will loosen the crust and allow you to open your eyes.