forked from Shinonome/dots-hyprland
Wallpapers: add IpcHandler for applying (#2533)
This commit is contained in:
@@ -181,4 +181,12 @@ Singleton {
|
|||||||
root.thumbnailGenerated(thumbgenProc.directory)
|
root.thumbnailGenerated(thumbgenProc.directory)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
IpcHandler {
|
||||||
|
target: "wallpapers"
|
||||||
|
|
||||||
|
function apply(path: string): void {
|
||||||
|
root.apply(path);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user