Manage the desktop wallpaper
Works on macOS, Linux, and Windows.
npm install --global wallpaper-cli
$ wallpaper --help
Usage
$ wallpaper [file|url|color]
Options
--scale Scaling method: auto fill fit stretch center [Default: auto]
Only available on macOS
Examples
$ wallpaper unicorn.jpg
$ wallpaper https://octodex.github.com/images/dojocat.jpg
$ wallpaper '#ff69b4'
$ wallpaper
/Users/sindresorhus/unicorn.jpg
$ wallpaper codercat.jpg --scale=fit
- wallpaper - API for this module