spacex-wallpaper
Use @spacex's latest unsplash.com photo as desktop wallpaper
Using
First install the package globally:
npm i -g spacex-wallpaper
Then run the package:
spacex-wallpaper
That'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 Saver
and 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 -e
Then paste in:
0 9 * * * spacex-wallpaper
Then 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 crontab
To verify it saved correctly run:
crontab -l