https://github.com/rovnyart/diversity
A simple Go app for setting random wallpaper from Unsplash
https://github.com/rovnyart/diversity
changer go irvue unsplash variety wallpaper windows
Last synced: 7 months ago
JSON representation
A simple Go app for setting random wallpaper from Unsplash
- Host: GitHub
- URL: https://github.com/rovnyart/diversity
- Owner: rovnyart
- Created: 2022-02-11T21:42:02.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-02-12T12:07:16.000Z (over 4 years ago)
- Last Synced: 2024-06-20T17:43:17.352Z (about 2 years ago)
- Topics: changer, go, irvue, unsplash, variety, wallpaper, windows
- Language: Go
- Homepage:
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Diversity - Windows wallpaper changer written on Go
## Unsplash API token
First of all you need to get an API token from Unsplash. Go to `https://unsplash.com/developers`, create an account, create an app and get API Key.
## Installation
You can download pre-built Windows amd64 binary from the [releases](https://github.com/rovnyart/diversity/releases) section.
Alternatively, you can build an app on your own:
```powershell
go get github.com/rovnyart/diversity
$env: GOARCH='windows'
$env: GOTARGET='amd64'
go build github/rovnyart/diversity -ldflags -H=windowsgui
```
This will produce `diversity.exe` executable. In order to run it you need to place `config.yaml` file in the same directory. See `Config` section for more details.
## Config
Config file has a very simple structure:
```yaml
---
apikey: your-api-token-here # Your Unsplash API token
scope: nature # Picture search query
schedule: 2h # Automatic wallpaper change schedule
```
## Usage
Just run app =) Application has an system tray icon with some sort of menu, where you can change current wallpaper or quit.