From 485c40406d9817783a0418ea1148fceb1efca94d Mon Sep 17 00:00:00 2001 From: end-4 <97237370+end-4@users.noreply.github.com> Date: Fri, 20 Feb 2026 22:56:59 +0100 Subject: [PATCH] changes from main --- .../ii/modules/ii/overview/SearchWidget.qml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/dots/.config/quickshell/ii/modules/ii/overview/SearchWidget.qml b/dots/.config/quickshell/ii/modules/ii/overview/SearchWidget.qml index c99b930c1..c6292c926 100644 --- a/dots/.config/quickshell/ii/modules/ii/overview/SearchWidget.qml +++ b/dots/.config/quickshell/ii/modules/ii/overview/SearchWidget.qml @@ -95,6 +95,25 @@ Item { // Wrapper root.focusFirstItem(); } } + + // Ctrl+N / Ctrl+P navigation + if (event.modifiers & Qt.ControlModifier) { + if (event.key === Qt.Key_N) { + if (appResults.visible && appResults.count > 0) { + // Wrap around the list rather than the default arrow key behaviour + appResults.currentIndex = (appResults.currentIndex + 1) % appResults.count; + event.accepted = true; + return; + } + } else if (event.key === Qt.Key_P) { + if (appResults.visible && appResults.count > 0) { + // Wrap around too + appResults.currentIndex = (appResults.count + appResults.currentIndex - 1) % appResults.count; + event.accepted = true; + return; + } + } + } } StyledRectangularShadow {