{"repo":"sindresorhus/macos-wallpaper","free":true,"listed":false,"github":"https://github.com/sindresorhus/macos-wallpaper","clone":"git clone https://github.com/sindresorhus/macos-wallpaper.git","description":"Manage the desktop wallpaper on macOS","language":"Swift","stars":708,"topics":["macos","wallpaper","desktop-wallpaper","macos-wallpaper","cli","cli-app","swift-package"],"license":"MIT","category":"cli-tools","readme_excerpt":"macos-wallpaper Manage the desktop wallpaper on macOS This is both a command-line app and a Swift package. It correctly handles getting the active wallpaper even when the wallpaper is set to a directory. CLI Requires macOS 10.14.4 or later. Install Homebrew Manually Download the binary and put it in /usr/local/bin . Usage By default, it sets and gets the wallpaper for all screens. Use the --screen flag to change this. Set Set solid color Get API Building this requires the latest Xcode and macOS version. The package supports macOS 10.14.4 or later. Install Add the following to Package.swift : Or add the package in Xcode. Usage See the source for more. [!NOTE] In sandboxed apps, the library gracefully handles database access restrictions and may return directory paths instead of specific image files when getting current wallpapers. Dev Run Build Related - wallpaper - Get or set the desktop wallpaper cross-platform (Uses this binary) - macos-trash - Move files and directories to the trash - do-not-disturb - Control the macOS Do Not Disturb feature - More…","default_branch":null,"files":null,"tree":[],"storefront":"/r/sindresorhus","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/sindresorhus/macos-wallpaper/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}