mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-08-15 18:43:59 +00:00
Hotfix: wallpaper was not set on startup.
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user