Skip to content

Set unsplash photo as wallpaper for mac, mimics Unsplash Wallpaper

License

Notifications You must be signed in to change notification settings

shuliang/wallpaper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wallpaper

images/screen_capture.png

This experimental project downloads photo from unsplash and set wallpaper for your Mac, it’s mainly inspired by and mimics Unsplash Wallpaper with some minor differences:

  • Download photo to ~/Pictures/Wallpapers/ other than ~/Download/.
  • Auto open download photo.
  • Set wallpaper only for currrent desktop.
    Unsplash Wallpaper introduced the same feature at Version 1.1 on 02 June 2018.

How to use

download app directly

You can download the zip file here, unzip and run it.

build from source

Clone this project, open Wallpaper.xcodeproj with Xcode and press ⌘+R. It’ll just run, no third party libs, no Cocoapods or Carthage configurations, friendly for beginners.

It’s originally written with Swift4.1, built with Xcode 9.4, deployment targeted at macOS 10.11, tested with macOS High Sierra (10.13.5). If you run into any trouble, please file an issue.

At present, wallpaper is a demo app which is limitd to 50 requests per hour to unsplash regulation, so it may fail when loading photos. For better user experience, I recommand you to apply for your own Access Key on Unsplash, replace current CLIENT_ID in WallpaperManager.swift and rebuild this project.

Todo

  • [ ] apply for unsplash production permission
  • [ ] install from Homebrew
  • [ ] preferences page
  • [ ] auto change wallpaper periodically
  • [ ] launch on system startup

Thanks

The Unsplash Wallpaper is really awesome, but it can only set wallpaper for all desktops (version 1.1 can set wallpaper separately), this’s inconvenient and gives me the idea to write this demo.

Thanks unsplash and all creators of those breathtaking photos.

The camera icon and gear icon download from Font awesome, they’re licensed under the CC By 4.0 License.

Any using, try to running, pull request, comment, suggestion, fork or download of this project is appreciated.

License

MIT license, see LICENSE.

About

Set unsplash photo as wallpaper for mac, mimics Unsplash Wallpaper

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages