From a56066bac156aefc563170a5896ba943a77e0d0f Mon Sep 17 00:00:00 2001 From: nebu <87451010+nebunebu@users.noreply.github.com> Date: Sat, 8 Nov 2025 00:42:09 -0500 Subject: [PATCH] Hyprkeybind: minor fixes (#660) * HyperKeybindsModal: size to screen * HyperKeybindsModal: close on Esc --- Modals/HyprKeybindsModal.qml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Modals/HyprKeybindsModal.qml b/Modals/HyprKeybindsModal.qml index 7c953e18..fc02975e 100644 --- a/Modals/HyprKeybindsModal.qml +++ b/Modals/HyprKeybindsModal.qml @@ -11,10 +11,14 @@ DankModal { layerNamespace: "dms:hyprkeybinds" - width: 1400 - height: 900 + property real _maxW: Math.min(Screen.width * 0.92, 1200) + property real _maxH: Math.min(Screen.height * 0.92, 900) + width: _maxW + height: _maxH onBackgroundClicked: close() + Shortcut { sequence: "Esc"; onActivated: root.close() } + function categorizeKeybinds() { const categories = { "Workspace": [],