Basically, I have windows of 5 minutes when I can do almost anything, then she calls me to do something for her that takes 15 minutes, then I have another 5 minutes of work. Instead of coding, my writing efforts have transitioned to writing fiction.
I mostly put aside music and any physical artform that required getting out and putting stuff away each session. Instead, I did a lot more writing, programming, and making stuff on my laptop since pausing and resuming was only a Ctrl-S away.
It also required learning the meta-skill of being able to break a large project into tiny pieces. I got a lot better at leaving notes to myself, not having too many projects going on in parallel, and thinking about problems when I was otherwise idle.
I do notice however, in myself as well as in others, that given an amount of uninterrupted time, we quickly get bored and pick up our phones to break it.
I recall that when Covid hit, I suddenly had a lot of interrupted time on my hands. It quite felt like the times from when we were kids, when he had these vast swathes of time in the afternoon and before bedtime.
I think for a lot of adults, besides the chores and errands that keep life busy, it's become a habit for us to fill up what little uninterrupted time we get with distractions.