Literally, “to have shit in the eyes”; compare English have shit for brains for a similar image.
avoir de la merde dans les yeux