move wallpapers ipc handler to the right place

This commit is contained in:
end-4
2025-11-23 12:06:48 +01:00
parent 8660d68420
commit 52f67431c7
2 changed files with 8 additions and 4 deletions
@@ -75,10 +75,6 @@ Scope {
function random(): void {
Wallpapers.randomFromCurrentFolder();
}
function apply(path: string): void {
Wallpapers.apply(path);
}
}
GlobalShortcut {
@@ -181,4 +181,12 @@ Singleton {
root.thumbnailGenerated(thumbgenProc.directory)
}
}
IpcHandler {
target: "wallpapers"
function apply(path: string): void {
root.apply(path);
}
}
}