From 60736a73814fd0b861316972d2c1924f8e6f8b4e Mon Sep 17 00:00:00 2001 From: purian23 Date: Sun, 11 Oct 2026 12:34:19 -0400 Subject: [PATCH] feat(settings): switch panes with Alt+Arrow keys --- quickshell/Modals/Settings/SettingsPaneNavigation.qml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/quickshell/Modals/Settings/SettingsPaneNavigation.qml b/quickshell/Modals/Settings/SettingsPaneNavigation.qml index 7859d06e5..e840b4c2d 100644 --- a/quickshell/Modals/Settings/SettingsPaneNavigation.qml +++ b/quickshell/Modals/Settings/SettingsPaneNavigation.qml @@ -1,4 +1,5 @@ import QtQuick +import qs.Common FocusScope { id: root @@ -135,6 +136,15 @@ FocusScope { else focusSidebar(); event.accepted = true; + } else if (mods === Qt.AltModifier && (event.key === Qt.Key_Left || event.key === Qt.Key_Right)) { + const forward = (event.key === Qt.Key_Right) !== I18n.isRtl; + if (forward !== (activePane === "sidebar")) + return; + if (forward) + focusContent(); + else + focusSidebar(); + event.accepted = true; } else if (event.key === Qt.Key_F && mods === Qt.ControlModifier) { focusSearch(); event.accepted = true;