Fibrations of compact Kähler manifolds in terms of cohomological properties of their fundamental groups