mirror of
https://github.com/danbulant/dots-hyprland
synced 2026-05-24 12:22:09 +00:00
wallpaper selector: add ipchandler alongside globalshortcut
This commit is contained in:
parent
6aa37e2529
commit
28fe7817b4
1 changed files with 8 additions and 0 deletions
|
|
@ -402,6 +402,14 @@ Scope {
|
|||
}
|
||||
}
|
||||
|
||||
IpcHandler {
|
||||
target: "wallpaperSelector"
|
||||
|
||||
function toggle(): void {
|
||||
GlobalStates.wallpaperSelectorOpen = !GlobalStates.wallpaperSelectorOpen
|
||||
}
|
||||
}
|
||||
|
||||
GlobalShortcut {
|
||||
name: "wallpaperSelectorToggle"
|
||||
description: "Toggle wallpaper selector"
|
||||
|
|
|
|||
Loading…
Reference in a new issue