Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 722 Bytes

README.md

File metadata and controls

17 lines (12 loc) · 722 Bytes

unsplash-random-wallpaper

Sets a random Unsplash image as background using Sindresorhus's wallpaper cli

Installation

Download main.go & config.yml

Create a developer account on Unsplash.
Create a new application.
Set the access key of your application as an environment variable, name it ACCESS_KEY_UNSPLASH.

OPTIONAL: Set the configPath variable if you want use the executable outside of the working directory.

Usage

Execute main.go

You can also build it and run it as an executable. If you want to execute the script on startup, you can follow this guide for Windows.