Slideshow
This commit is contained in:
parent
169db24ff7
commit
dc701f957a
@ -1,5 +1,7 @@
|
|||||||
// TODO:
|
// TODO:
|
||||||
// - Support removal of images
|
// - Support removal of images
|
||||||
|
// - Add adjustable slideshow speed
|
||||||
|
// - Add image fading
|
||||||
|
|
||||||
|
|
||||||
let socket
|
let socket
|
||||||
@ -78,6 +80,9 @@ let pickWallpaper = () => {
|
|||||||
wallpaper = "https://picsum.photos/3840/2160"
|
wallpaper = "https://picsum.photos/3840/2160"
|
||||||
}
|
}
|
||||||
setWallpaper(wallpaper)
|
setWallpaper(wallpaper)
|
||||||
|
setTimeout(() => {
|
||||||
|
pickWallpaper()
|
||||||
|
}, 30000)
|
||||||
}
|
}
|
||||||
|
|
||||||
let loadSocket = () => {
|
let loadSocket = () => {
|
||||||
|
Loading…
Reference in New Issue
Block a user