Background: add default wallpaper

This commit is contained in:
Ly-sec 2025-09-08 08:46:10 +02:00
parent b6166a2a7c
commit c0900b105b
4 changed files with 20 additions and 1 deletions

View file

@ -216,7 +216,11 @@ Singleton {
// -------------------------------------------------------------------
// Get specific monitor wallpaper - now from cache
function getWallpaper(screenName) {
return currentWallpapers[screenName] || ""
var path = currentWallpapers[screenName] || ""
if (path === "") {
return Settings.data.wallpaper.defaultWallpaper || ""
}
return path
}
// -------------------------------------------------------------------