splash
is a simple cli tool for changing the wallpaper dynamically and easily from hundreds of thousands of images of unsplash.com.
You need to have a developer account of unsplash.com in order to use this tool.
- Go to https://unsplash.com/developers, sign up, create an application and get the access key.
- Create a file at
$HOME/.splash/.env
and add the lineACCESS_KEY=<access_key>
(replace with your access key) in the file.
Pull the source code with
go get github.com/ShehabSunny/splash
get all dependencies by running dep ensure
Build with:
make build
or
go build .
Install with:
go install
This command will pull a random image from the API and set as desktop wallpaper.
splash
This command will pull a random image from the API searched with the topic provided with -t flag and set it as desktop wallpaper.
splash -t sunset
or
splash -t "new york"