1.1.0 • Published 10 years ago
spacex-wallpaper v1.1.0
spacex-wallpaper
Use @spacex's latest unsplash.com photo as desktop wallpaper
Using
First install the package globally:
npm i -g spacex-wallpaperThen run the package:
spacex-wallpaperThat's it, enjoy our new SpaceX driven wallpaper!
Caveats
- This currently only supports one display. It will not set the second display, unfortunately. To follow this issue watch: https://github.com/sindresorhus/macos-wallpaper/issues/2
- There is not really a way to correctly set your background scaling. I have found the best method is to set your stretching to "Stretch to Fill Screen". To do this on macOS, go to
System Preferences > Desktop & Screen Saverand change the dropdown to "Stretch to Fill Screen".
Automation
I have mine set to run in a crontab once a day, as it doesn't seem like @spacex is uploading on an hourly or less basis. Here is how I did that:
env EDITOR=vim crontab -eThen paste in:
0 9 * * * spacex-wallpaperThen I exit visual mode (hit esc) and type ZZ to write and quit. If that worked correctly you should get:
crontab: no crontab for <insert_your_username> - using an empty one
crontab: installing new crontabTo verify it saved correctly run:
crontab -l