Hotfix: wallpaper was not set on startup.
This commit is contained in:
parent
5f1f3dce4a
commit
e3f50c0ce2
4 changed files with 10 additions and 11 deletions
|
|
@ -137,6 +137,9 @@ Singleton {
|
|||
// Kickoff Font service
|
||||
FontService.init()
|
||||
|
||||
// Kickoff HooksService
|
||||
HooksService.init()
|
||||
|
||||
Qt.callLater(function () {
|
||||
validateMonitorConfigurations()
|
||||
})
|
||||
|
|
|
|||
|
|
@ -16,6 +16,13 @@ Singleton {
|
|||
}
|
||||
}
|
||||
|
||||
Connections {
|
||||
target: WallpaperService
|
||||
function onWallpaperChanged(screenName, path) {
|
||||
executeWallpaperHook(path, screenName)
|
||||
}
|
||||
}
|
||||
|
||||
// Execute wallpaper change hook
|
||||
function executeWallpaperHook(wallpaperPath, screenName) {
|
||||
if (!Settings.data.hooks?.enabled) {
|
||||
|
|
|
|||
|
|
@ -286,11 +286,6 @@ Singleton {
|
|||
// Emit signal for this specific wallpaper change
|
||||
root.wallpaperChanged(screenName, path)
|
||||
|
||||
// Execute wallpaper change hook after the change is complete
|
||||
if (HooksService) {
|
||||
HooksService.executeWallpaperHook(path, screenName)
|
||||
}
|
||||
|
||||
// Restart the random wallpaper timer
|
||||
if (randomWallpaperTimer.running) {
|
||||
randomWallpaperTimer.restart()
|
||||
|
|
|
|||
|
|
@ -107,12 +107,6 @@ ShellRoot {
|
|||
// Ensure our location singleton is created as soon as possible so we start fetching weather asap
|
||||
LocationService.init()
|
||||
|
||||
// Initialize UpdateService
|
||||
UpdateService.init()
|
||||
|
||||
// Initialize HooksService
|
||||
HooksService.init()
|
||||
|
||||
// Kickoff NightLight service
|
||||
NightLightService.apply()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue