File tree Expand file tree Collapse file tree 2 files changed +6
-7
lines changed
Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Original file line number Diff line number Diff line change 44This app changes your wallpaper. You can give an URL to define where to get the wallpaper(s) from.
55To 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| ------| ------|
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import (
1010
1111func 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
You can’t perform that action at this time.
0 commit comments