Skip to content
Get or set the desktop wallpaper
JavaScript
Branch: master
Clone or download
Latest commit 8850e16 Sep 29, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.editorconfig Require Node.js 8 and update dependencies Sep 29, 2018
.gitattributes Require Node.js 8 and update dependencies Sep 29, 2018
.gitignore Require Node.js 8 and update dependencies Sep 29, 2018
.npmrc Require Node.js 8 and update dependencies Sep 29, 2018
.travis.yml Require Node.js 8 and update dependencies Sep 29, 2018
cli.js Require Node.js 8 and update dependencies Sep 29, 2018
license Require Node.js 8 and update dependencies Sep 29, 2018
package.json 2.0.0 Sep 29, 2018
readme.md
test.js Require Node.js 8 and update dependencies Sep 29, 2018

readme.md

wallpaper-cli Build Status

Manage 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: auto fill fit stretch center [Default: auto]
             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

License

MIT © Sindre Sorhus

You can’t perform that action at this time.