The cat was sitting and looking out the sunny window.
A cat peers out of a window from a sill
A cat sitting near a window and looking outside.
A large cat sits in a sunny spot looking out a window.
A cat looking with anticipation out of a window.