From 93e8880842b03e251bf59d1ba316f2393c68574f Mon Sep 17 00:00:00 2001 From: Ezekiel Gonzales <141341590+notsoeazy@users.noreply.github.com> Date: Fri, 13 Feb 2026 10:20:35 +0800 Subject: [PATCH] shortcuts: Sidebar and Utilities shortcuts (#1160) * shortcuts: Added shortcut to toggle the sidebar * shortcuts: added utilities shortcut to toggle utilities --- modules/Shortcuts.qml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/modules/Shortcuts.qml b/modules/Shortcuts.qml index a62b827e..3bf20a4f 100644 --- a/modules/Shortcuts.qml +++ b/modules/Shortcuts.qml @@ -69,6 +69,29 @@ Scope { onPressed: root.launcherInterrupted = true } + + CustomShortcut { + name: "sidebar" + description: "Toggle sidebar" + onPressed: { + if (root.hasFullscreen) + return; + const visibilities = Visibilities.getForActive(); + visibilities.sidebar = !visibilities.sidebar; + } + } + + CustomShortcut { + name: "utilities" + description: "Toggle utilities" + onPressed: { + if (root.hasFullscreen) + return; + const visibilities = Visibilities.getForActive(); + visibilities.utilities = !visibilities.utilities; + } + } + IpcHandler { target: "drawers"