Skip to content

deca10x/wallpaper-cli

 
 

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%