The most efficient way to trigger the switch behind the lower Eyegore and proceed is simply to walk through the room, trying to airpump and wallpump as much as possible.
Dashing to trigger the switch allows you to charge a dash out of the doorway before being hit by the Eyegores, but is slower overall.
The magic cape can be used briefly to allow for charging a dash out of the room after walking diagonally to the switch, but generally comes out time-neutral when accounting for magic usage (8 points of magic) and is not recommended.