Home

Awesome

wallpaper-cli

Manage the desktop wallpaper

Works on macOS, Linux, and Windows.

Install

npm install --global wallpaper-cli

Usage

$ 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

Related