https://github.com/davidvanleeuwen/unsplash-wallpaper-script
Simple unsplash.com wallpaper switcher (OSX only)
https://github.com/davidvanleeuwen/unsplash-wallpaper-script
script unsplash unsplash-client wallpaper wallpaper-changer
Last synced: 27 days ago
JSON representation
Simple unsplash.com wallpaper switcher (OSX only)
- Host: GitHub
- URL: https://github.com/davidvanleeuwen/unsplash-wallpaper-script
- Owner: davidvanleeuwen
- License: mit
- Created: 2018-08-13T19:46:33.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-08-13T20:21:53.000Z (almost 7 years ago)
- Last Synced: 2025-02-26T16:54:56.224Z (4 months ago)
- Topics: script, unsplash, unsplash-client, wallpaper, wallpaper-changer
- Language: Shell
- Size: 6.84 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Unsplash wallpaper switcher (OSX only)

This is a extremly simple script that downloads an unsplash image and sets it as a wallpaper every 15 minutes. I was done with an extra menu item or an app, I just wanted random nice images as a wallpaper on my screen(s).
[Let me know if you like it/are using it 🤩👌](https://twitter.com/davidvanleeuwen).
## Install
```console
sh -c "$(curl -fsSL https://raw.githubusercontent.com/davidvanleeuwen/unsplash-wallpaper-script/master/install.sh)"
```## Dependencies
Don't have nodejs and/or yarn?
```console
brew install yarn
```Don't have brew?
```console
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
```## FAQ
### How to change the frequency?
1. Open your terminal
2. Enter: `env EDITOR=nano crontab -e`
3. Change `*/15` (= every 15 minutes) to what you want ([more info](https://ole.michelsen.dk/blog/schedule-jobs-with-crontab-on-mac-osx.html))
4. `ctrl+x`, `y`, `enter`### How to change unsplash theme/search?
1. Open `~/Wallpapers/set_wallpaper.sh`
2. Change nature to whatever you want (it can be comma seperated, eg: `unsplash-wallpaper -q unicorn,rainbow`)
3. Save the file and you're done### How to remove this script?
1. To begin, this is a bit more cumbersome. Sorry 😟
2. Use `env EDITOR=nano crontab -e` and delete the line points to `set_wallpaper.sh`.
3. `ctrl+x`, `y`, `enter`
4. `rm -rf ~/Wallpapers` (note: make sure you don't use this folder for anything else, everything inside will be deleted!)
5. That's it.### Other questions?
Let me know on [Twitter](https://twitter.com/davidvanleeuwen)!