soroushchehresa/unsplash-wallpapers

Feature Request: recognize display size and query unsplash acordingly

RowanKaag opened this issue · 1 comments

I'm very impressed with this multi-platform tool, wish I found it earlier! There's one thing I'm facing with macOS though and I'm not sure if this is working as intended. Any wallpaper I download don't fill my screen (3440x1440). I am aware that my screen is wider than most other people will have, but my suggestion might suit others too.

In Unsplash, there's an info pane that allows to see the resolution of the photo as such:
image

Would it be possible to accommodate for the screen size, and use these as query parameters when looking for wallpapers in Unsplash? According to the API it should be possible to do so via, for example, photo.urls.raw + "&w=1500&dpr=2" - https://unsplash.com/documentation

@RowanKaag Thanks for your suggestion.
I added this feature in this commit and I'll release it soon with the other new features!