mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-05 14:59:27 -05:00
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