One of the factors, with leaking, is the pain meds. They relax the entire body, and I think you can leak easier on the meds, than off them.
One thing about the diaper, is putting it on.
Most people actually use the same procedure they use with an infant.
I found a better way.
I open the diaper, put it behind me- where I want it on my lower back, and then LEAN AGAINST A WALL... to hold it up.
Then bring up the front part, and do the tape tab thing.
It seems easier to do, than lying down.
I'm not sure what 'techniques' others have used....but this worked for me.
Pilot, after my surgery, they said to try Poise pads, during the day, just in case. They didn't really have capacity...if you know what I mean.
I'd suggest making yourself urinate every two to three hours certainly will reduce leaking.
It's like learning to ride a bicycle, except his one has wheels that do in different directions, and the handle bars are backwards. LOL
Good luck, and glad you're pro-active.
Being ahead of the game, beats trying to play catch up.