mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-08-15 18:43:59 +00:00
Overview: potential fix for fallback wallpaper showing after logout/login
This commit is contained in:
@@ -21,6 +21,10 @@ Variants {
|
|||||||
if (modelData) {
|
if (modelData) {
|
||||||
Logger.log("Overview", "Loading Overview component for Niri on", modelData.name)
|
Logger.log("Overview", "Loading Overview component for Niri on", modelData.name)
|
||||||
}
|
}
|
||||||
|
updateWallpaper()
|
||||||
|
}
|
||||||
|
|
||||||
|
function updateWallpaper() {
|
||||||
wallpaper = modelData ? WallpaperService.getWallpaper(modelData.name) : ""
|
wallpaper = modelData ? WallpaperService.getWallpaper(modelData.name) : ""
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -33,6 +37,15 @@ Variants {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Connections {
|
||||||
|
target: WallpaperService
|
||||||
|
function onIsInitializedChanged() {
|
||||||
|
if (WallpaperService.isInitialized) {
|
||||||
|
updateWallpaper()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
color: Color.transparent
|
color: Color.transparent
|
||||||
screen: modelData
|
screen: modelData
|
||||||
|
|||||||
Reference in New Issue
Block a user