diff --git a/.config/quickshell/services/HyprlandKeybinds.qml b/.config/quickshell/services/HyprlandKeybinds.qml index 81c63a08e..1b2972fe9 100644 --- a/.config/quickshell/services/HyprlandKeybinds.qml +++ b/.config/quickshell/services/HyprlandKeybinds.qml @@ -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