From 4621c3695ed26862af70901605172bb1acaaae91 Mon Sep 17 00:00:00 2001 From: Tim Hämisch Date: Fri, 13 Jun 2025 16:08:02 +0200 Subject: Add custom shortcut for launcher, dashboard and osd all in one (#53) * Add custom shortcut for launcher, dashboard and osd all in one * Fix Shortcut description * shortcuts: fix showall Some fixes: - no need for the complex shortcut - fix formatting - fix unqualified access --------- Co-authored-by: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> --- modules/Shortcuts.qml | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'modules/Shortcuts.qml') diff --git a/modules/Shortcuts.qml b/modules/Shortcuts.qml index bed620c..3d665ff 100644 --- a/modules/Shortcuts.qml +++ b/modules/Shortcuts.qml @@ -8,6 +8,15 @@ Scope { property bool launcherInterrupted + CustomShortcut { + name: "showall" + description: "Toggle launcher, dashboard and osd" + onPressed: { + const v = Visibilities.getForActive(); + v.launcher = v.dashboard = v.osd = !(v.launcher || v.dashboard || v.osd); + } + } + CustomShortcut { name: "session" description: "Toggle session menu" -- cgit v1.2.3-freya