A cross-platform binary to change the desktop background from Unsplash.
This package uses the splas-php composer package.
Via Composer
$ composer global require pxgamer/splas-runner
Via Phive
$ phive install pxgamer/splas-runner
- Get an API key from Unsplash
- Either set the
UNSPLASH_API_KEY
environment variable, or provide a--key {key}
option in the command - Run the binary using
splasr [options]
Name | Description |
---|---|
--keep / -k | Specify whether to keep or remove images. Defaults to remove any images before downloading. |
--key | Specify your API key. Defaults to use the environment variable. |
--interval / -i | Specify an integer (minutes) when running in looped mode. By default will exit after the first run. |
OS | Supported? |
---|---|
Windows | ✓ |
Mac OSX | ✗ |
Ubuntu | ✓ |
Linux | ✗ |
Note: Running in an unsupported OS will result in an ErrorException.
Please see CHANGELOG for more information on what has changed recently.
$ composer test
Please see CONTRIBUTING and CODE_OF_CONDUCT for details.
If you discover any security related issues, please email owzie123@gmail.com instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.