Random wallpaper every hour - custom JS #1213
willart7401
started this conversation in
Show and tell
Replies: 2 comments 2 replies
-
Hi, it's pretty nice code here. This could be an option directly in heimdall, on/off auto rotation from backgrouds folder. ;) Thank you. |
Beta Was this translation helpful? Give feedback.
1 reply
-
I tried your unsplash version. But it changes the image every page refresh/change. Do you know a way to fix this? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Just write this code in the Settings -> Advanced -> Custom JavaScript :
You can set your own images / url and change the intervall.
I also tried to do it with Unsplash to have more random photos. You have first to create an account and an application in Unsplash to have an API key. After, just write this code in the Settings -> Advanced -> Custom JavaScript (don't forget to replace YOU_API_KEY by your Unsplash App Api Key :
PS : I set collections to 'wallpaper' (in the request) but you can find your favorite collection or choose a particular filter/theme.
Beta Was this translation helpful? Give feedback.
All reactions