Exactly what I was looking for! My window butts right up against the other wall into a corner so the capped ends fits perfectly.