forked from Shinonome/dots-hyprland
wallpaper selector: add ipchandler alongside globalshortcut
This commit is contained in:
@@ -402,6 +402,14 @@ Scope {
|
||||
}
|
||||
}
|
||||
|
||||
IpcHandler {
|
||||
target: "wallpaperSelector"
|
||||
|
||||
function toggle(): void {
|
||||
GlobalStates.wallpaperSelectorOpen = !GlobalStates.wallpaperSelectorOpen
|
||||
}
|
||||
}
|
||||
|
||||
GlobalShortcut {
|
||||
name: "wallpaperSelectorToggle"
|
||||
description: "Toggle wallpaper selector"
|
||||
|
||||
Reference in New Issue
Block a user