sindresorhus / wallpaper-cli

Get or set the desktop wallpaper

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Get or set the desktop wallpaper

License:MIT License


Languages

Language:JavaScript 100.0%