diff --git a/README.md b/README.md index 1a840397..38269bfd 100644 --- a/README.md +++ b/README.md @@ -79,6 +79,8 @@ - Set via image/video (Fill, Fit, Stretch, Tile, Center) - Picture Slideshow - [Astronomy Picture of the Day](https://api.nasa.gov/#apod) +- [Art Institute of Chicago](https://api.artic.edu/docs/) +- [Lorem Picsum](https://picsum.photos/) - AI Generated Wallpapers [Stable Diffusion](https://stability.ai/stable-diffusion) - Custom screen saver file support - [3D FlowerBox](https://github.com/kevin-shannon/3D-FlowerBox) diff --git a/components/system/Desktop/Wallpapers/useWallpaper.ts b/components/system/Desktop/Wallpapers/useWallpaper.ts index e04b651f..576df397 100644 --- a/components/system/Desktop/Wallpapers/useWallpaper.ts +++ b/components/system/Desktop/Wallpapers/useWallpaper.ts @@ -339,7 +339,10 @@ const useWallpaper = ( wallpaperUrl = newWallpaper.wallpaperUrl || ""; fallbackBackground = newWallpaper.fallbackBackground || ""; newWallpaperFit = newWallpaper.newWallpaperFit || newWallpaperFit; - setTimeout(loadFileWallpaper, newWallpaper.updateTimeout); + wallpaperTimerRef.current = setTimeout( + loadFileWallpaper, + newWallpaper.updateTimeout + ); } } else if (await exists(wallpaperImage)) { resetWallpaper();