The route you have layed out is a good plan, many have met success with it. It is also a popular path so it is highly recommended to do stuff outside your role as a line pilot. What stuff you ask? Doesn’t matter, do stuff that interests you: work, fun or charity; try to take a role of responsibility and put it on your app. No kidding, you coach your kids football team, put it on there, part of a magician society, put it on there(if you’re allowed, I have no idea if magicians allow that).
What makes you different will get you the interview and the job.