flange/u-channel for black-out blinds?
I might try some angle L in plastic or aluminum. I looked on line and there were lots of options  I did see 1 MFG that had a few colors. I searched with the term “plastic angle L” the aluminum did show up also.