summaryrefslogtreecommitdiff
path: root/modules/Shortcuts.qml
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-09-11 22:57:03 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-09-11 22:57:03 +1000
commitfa00a626008ba59cdf801c612b98a895949abc1d (patch)
treef6ab01c22f5372fb4a4d9d4a5f36f81423cc5dd9 /modules/Shortcuts.qml
parentplugin: add requests (diff)
downloadcaelestia-shell-fa00a626008ba59cdf801c612b98a895949abc1d.tar.gz
caelestia-shell-fa00a626008ba59cdf801c612b98a895949abc1d.tar.bz2
caelestia-shell-fa00a626008ba59cdf801c612b98a895949abc1d.zip
shortcuts: add dashboard shortcut
Diffstat (limited to '')
-rw-r--r--modules/Shortcuts.qml9
1 files changed, 9 insertions, 0 deletions
diff --git a/modules/Shortcuts.qml b/modules/Shortcuts.qml
index d40097b..2630941 100644
--- a/modules/Shortcuts.qml
+++ b/modules/Shortcuts.qml
@@ -25,6 +25,15 @@ Scope {
}
CustomShortcut {
+ name: "dashboard"
+ description: "Toggle dashboard"
+ onPressed: {
+ const visibilities = Visibilities.getForActive();
+ visibilities.dashboard = !visibilities.dashboard;
+ }
+ }
+
+ CustomShortcut {
name: "session"
description: "Toggle session menu"
onPressed: {