JSPM

  • Created
  • Published
  • Downloads 2
  • Score
    100M100P100Q59218F
  • License MIT

Unsplash photos as your wallpaper

Package Exports

  • splash-cli

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (splash-cli) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Splash

Downloads Build Status XO code style

Get beautiful wallpapers from unsplash

screen

The terminal shown above is Hyper, with hyper-sierra-vibrancy as the terminal theme, and the oh-my-zsh shell with hyperzsh ZSH-THEME as the theme.

Installation

To install splash-cli you must use a node package manager such as yarn or npm.

    $ [sudo] npm i -g splash-cli #or yarn

Usage

usage

To learn how to use Splash type splash --help into your terminal after installation, also you can read the docs here or the basic version below.

Flags

--id

Parameter

Pick a photo from the id or the url

  $ splash --id <id|url>

Input: Yes

Type: String

Default: none

save

Subcommand

Save a photo without set it as wallpaper.

  $ splash save 
  $ splash save --dest [path] #or -d
  $ splash save --set #or -s

REMEMBER: The path is relative to your position. So if you are in ~/Desktop and you have setted . as path, it will save the photo in ~/Desktop.

Input: Yes

Type: String

Default: ~/Pictures/splash_photos

dir

Set default download directory for pictures.

  $ splash dir [--flags] 

  $ splash dir --set [path] #or -s

If no path it will returns the active path.

Input: Yes

Type: String

Default: ~/Pictures/splash_photos

--theme

With this flag splash will detect the photo's brightness and toggle the macOS dark-mode.

  $ splash --theme
  $ splash -t 

theme

Platform: darwin

Input: none

Type: Boolean

Default: false


- I hope you enjoyed this project, if you, drop a ⭐ ! It's free!