import Quickshell import Quickshell.Io import QtQuick import qs.services ShellRoot { IpcHandler { target: "keybinds-test" function status(): string { const grouped = Keybinds.grouped(); let groupedCount = 0; for (const group of grouped) groupedCount += group.binds.length; const superT = Keybinds.binds.find(bind => bind.description === "Terminal"); return JSON.stringify({ loaded: Keybinds.loaded, count: Keybinds.binds.length, groupedCount: groupedCount, groups: grouped.map(group => group.name), sample: superT ? superT.chord : "", emptyDescriptions: Keybinds.binds.filter(bind => !bind.description).length, lastError: Keybinds.lastError }); } } }