diff --git a/.config/quickshell/services/HyprlandKeybinds.qml b/.config/quickshell/services/HyprlandKeybinds.qml index af0f414..eac1bc6 100644 --- a/.config/quickshell/services/HyprlandKeybinds.qml +++ b/.config/quickshell/services/HyprlandKeybinds.qml @@ -16,13 +16,13 @@ import Quickshell.Hyprland Singleton { id: root property string keybindParserPath: FileUtils.trimFileProtocol(`${Directories.config}/quickshell/scripts/hyprland/get_keybinds.py`) - property string defaultKeybindConfigPath: FileUtils.trimFileProtocol(`${Directories.config}/hypr/hyprland/keybinds.conf`) + // property string defaultKeybindConfigPath: FileUtils.trimFileProtocol(`${Directories.config}/hypr/hyprland/keybinds.conf`) property string userKeybindConfigPath: FileUtils.trimFileProtocol(`${Directories.config}/hypr/hyprland.conf`) - property var defaultKeybinds: {"children": []} + // property var defaultKeybinds: {"children": []} property var userKeybinds: {"children": []} property var keybinds: ({ children: [ - ...(defaultKeybinds.children ?? []), + // ...(defaultKeybinds.children ?? []), ...(userKeybinds.children ?? []), ] }) @@ -32,27 +32,27 @@ Singleton { function onRawEvent(event) { if (event.name == "configreloaded") { - getDefaultKeybinds.running = true + // getDefaultKeybinds.running = true getUserKeybinds.running = true } } } - Process { - id: getDefaultKeybinds - running: true - command: ["python3", root.keybindParserPath, "--path", root.defaultKeybindConfigPath,] + // Process { + // id: getDefaultKeybinds + // running: true + // command: ["python3", root.keybindParserPath, "--path", root.defaultKeybindConfigPath,] - stdout: SplitParser { - onRead: data => { - try { - root.defaultKeybinds = JSON.parse(data) - } catch (e) { - console.error("[CheatsheetKeybinds] Error parsing keybinds:", e) - } - } - } - } + // stdout: SplitParser { + // onRead: data => { + // try { + // root.defaultKeybinds = JSON.parse(data) + // } catch (e) { + // console.error("[CheatsheetKeybinds] Error parsing keybinds:", e) + // } + // } + // } + // } Process { id: getUserKeybinds