forked from Shinonome/dots-hyprland
move wallpapers ipc handler to the right place
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user