mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-05 23:09:26 -05:00
HyprlandKeybinds: fix children undefined
This commit is contained in:
@@ -11,19 +11,15 @@ import Quickshell.Hyprland
|
||||
|
||||
Singleton {
|
||||
id: root
|
||||
property var defaultKeybinds: []
|
||||
property var userKeybinds: []
|
||||
property var defaultKeybinds: {"children": []}
|
||||
property var userKeybinds: {"children": []}
|
||||
property var keybinds: ({
|
||||
children: [
|
||||
...defaultKeybinds.children,
|
||||
...userKeybinds.children,
|
||||
...(defaultKeybinds.children ?? []),
|
||||
...(userKeybinds.children ?? []),
|
||||
]
|
||||
})
|
||||
|
||||
// onKeybindsChanged: {
|
||||
// console.log("[CheatsheetKeybinds] Keybinds changed:", JSON.stringify(keybinds, null, 2))
|
||||
// }
|
||||
|
||||
Connections {
|
||||
target: Hyprland
|
||||
|
||||
|
||||
Reference in New Issue
Block a user