The number of lone pairs on the central atom in XeF₂ is:
In XeF₂ , xenon has 8 valence electrons and forms 2 bonds (4 electrons used), leaving 4 electrons as 3 lone pairs. With sp³d hybridization, the 5 electron pairs (2 bonding, 3 lone) result in a trigonal bipyramidal electron geometry and a linear molecular shape.
Ref: NCERT Class 11 Chemistry > Chapter 4: Chemical Bonding and Molecular Structure > Topic: Valence Bond Theory and Hybridisation - sp sp2 sp3 dsp2