Skip to content

Commit 29b5524

Browse files
committed
remove deprecated image sources
1 parent 31cd9f3 commit 29b5524

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

README.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
This app changes your wallpaper. You can give an URL to define where to get the wallpaper(s) from.
55
To define when to change your wallpaper you can use a cron expression.
66

7-
Per default your wallpaper is changed every minute with a random image from [Unsplash](https://unsplash.com).
7+
Per default your wallpaper is changed every minute with a random image from [Picsum](https://picsum.photos).
88

99
# Usage:
1010
```
@@ -15,15 +15,14 @@ You can pass a `help` argument to view a help message:
1515
-cron string
1616
Cron expression which defines when to change wallpaper (default "* * * * *")
1717
-url string
18-
URL which returns a wallpaper image (default "https://source.unsplash.com/random/1920x1080")
18+
URL which returns a wallpaper image (default "https://picsum.photos/1920/1080")
1919
2020
```
2121

2222
# Examples
23-
| URL | Info | See |
24-
|----------------------------------------------|-------------------------------------------------|------------------------------|
25-
| https://source.unsplash.com/random/1920x1080 | Get random image with 1920x1080px from Unsplash | https://source.unsplash.com/ |
26-
| https://loremflickr.com/1920/1080/dog | Get random dog image with 1920x1080px | https://loremflickr.com/ |
23+
| URL | Info | See |
24+
|---------------------------------|-----------------------------------------------|------------------------|
25+
| https://picsum.photos/1920/1080 | Get random image with 1920x1080px from Picsum | https://picsum.photos/ |
2726

2827
| Cron | Info |
2928
|------|------|

cmd/dynamic-wallpaper/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010

1111
func main() {
1212
var cronFlag = flag.String("cron", "* * * * *", "Cron expression which defines when to change wallpaper")
13-
var wallpaperURL = flag.String("url", "https://source.unsplash.com/random/1920x1080", "URL which returns a wallpaper image")
13+
var wallpaperURL = flag.String("url", "https://picsum.photos/1920/1080", "URL which returns a wallpaper image")
1414
flag.Parse()
1515

1616
args := os.Args

0 commit comments

Comments
 (0)