Slideshow

This commit is contained in:
Elizabeth Cray 2023-06-18 04:28:29 -04:00
parent 169db24ff7
commit dc701f957a

View File

@ -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 = () => {