From 33ac0350e4669707b56de3228d4a6b7f2f85a1d6 Mon Sep 17 00:00:00 2001 From: SzilBalazs Date: Sun, 23 Nov 2025 10:29:29 +0100 Subject: [PATCH 1/2] Improve keybinds --- modules/overview/Overview.qml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/modules/overview/Overview.qml b/modules/overview/Overview.qml index 897b0e2..b3a299c 100644 --- a/modules/overview/Overview.qml +++ b/modules/overview/Overview.qml @@ -79,10 +79,10 @@ Scope { focus: GlobalStates.overviewOpen Keys.onPressed: event => { - if (event.key === Qt.Key_Escape) { + if (event.key === Qt.Key_Escape || event.key === Qt.Key_Return) { GlobalStates.overviewOpen = false; event.accepted = true; - } else if (event.key === Qt.Key_Left || event.key === Qt.Key_Right) { + } else if (event.key === Qt.Key_Left || event.key === Qt.Key_Right || event.key === Qt.Key_Up || event.key === Qt.Key_Down) { const workspacesPerGroup = Config.options.overview.rows * Config.options.overview.columns; const currentId = Hyprland.focusedMonitor?.activeWorkspace?.id ?? 1; const currentGroup = Math.floor((currentId - 1) / workspacesPerGroup); @@ -93,9 +93,15 @@ Scope { if (event.key === Qt.Key_Left) { targetId = currentId - 1; if (targetId < minWorkspaceId) targetId = maxWorkspaceId; - } else { + } else if (event.key === Qt.Key_Right) { targetId = currentId + 1; if (targetId > maxWorkspaceId) targetId = minWorkspaceId; + } else if (event.key === Qt.Key_Up) { + targetId = currentId - Config.options.overview.columns; + if (targetId < minWorkspaceId) targetId += workspacesPerGroup; + } else { + targetId = currentId + Config.options.overview.columns; + if (targetId > maxWorkspaceId) targetId -= workspacesPerGroup; } Hyprland.dispatch("workspace " + targetId); -- 2.51.2 From db0f3201db23442b1ee4ff4e5d2ad4ba6756ea87 Mon Sep 17 00:00:00 2001 From: Shanu Kumawat Date: Fri, 28 Nov 2025 11:20:45 +0530 Subject: [PATCH 2/2] docs: update README with new keybinds --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index c2edbd9..c32e7ac 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ https://github.com/user-attachments/assets/79ceb141-6b9e-4956-8e09-aaf72b66550c - 🎯 Click windows to focus them - 🖱️ Middle-click windows to close them - 🔄 Drag and drop windows between workspaces -- ⌨️ Keyboard navigation (Left/Right arrows to switch workspaces, Escape to close) +- ⌨️ Keyboard navigation (Arrow keys to switch workspaces, Escape/Enter to close) - 💡 Hover tooltips showing window information - 🎨 Material Design 3 theming - ⚡ Smooth animations and transitions @@ -75,8 +75,9 @@ qs -c overview & | Action | Description | |--------|-------------| | **Super + Tab** | Toggle the overview | -| **Left/Right Arrow Keys** | Navigate between workspace groups | -| **Escape** | Close the overview | +| **Left/Right Arrow Keys** | Navigate between workspaces horizontally | +| **Up/Down Arrow Keys** | Navigate between workspace rows | +| **Escape / Enter** | Close the overview | | **Click workspace** | Switch to that workspace | | **Click window** | Focus that window | | **Middle-click window** | Close that window | -- 2.51.2