@fa7ad/wallpaper-cli
v1.2.1
Published
Get or set the desktop wallpaper
Downloads
1
Maintainers
Readme
wallpaper-cli
Get or set the desktop wallpaper
Works on macOS, Linux, and Windows.
Install
$ npm install --global wallpaper-cli
Usage
$ wallpaper --help
Usage
$ wallpaper [file|url]
Options
--scale Scaling method (fill fit stretch center)
If not specified, it will use your current setting
Only available on macOS
Examples
$ wallpaper unicorn.jpg
$ wallpaper https://octodex.github.com/images/dojocat.jpg
$ wallpaper
/Users/sindresorhus/unicorn.jpg
$ wallpaper codercat.jpg --scale=fit
Related
- wallpaper - API for this module
License
MIT © Sindre Sorhus