summaryrefslogtreecommitdiff
path: root/modules/Shortcuts.qml
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-08-07 15:38:17 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-08-07 15:38:17 +1000
commitd9ffc13825b56cb97bce4d31fca4abbdc42b0985 (patch)
treeeb506d597bf47e9884e959b069c446673eee312e /modules/Shortcuts.qml
parentdashboard: showOnHover config option (#361) (diff)
downloadcaelestia-shell-d9ffc13825b56cb97bce4d31fca4abbdc42b0985.tar.gz
caelestia-shell-d9ffc13825b56cb97bce4d31fca4abbdc42b0985.tar.bz2
caelestia-shell-d9ffc13825b56cb97bce4d31fca4abbdc42b0985.zip
controlcenter: add floating mode
Closes #363
Diffstat (limited to 'modules/Shortcuts.qml')
-rw-r--r--modules/Shortcuts.qml15
1 files changed, 15 insertions, 0 deletions
diff --git a/modules/Shortcuts.qml b/modules/Shortcuts.qml
index 628a8ce..d40097b 100644
--- a/modules/Shortcuts.qml
+++ b/modules/Shortcuts.qml
@@ -1,4 +1,5 @@
import qs.components.misc
+import qs.modules.controlcenter
import qs.services
import Quickshell
import Quickshell.Io
@@ -9,6 +10,12 @@ Scope {
property bool launcherInterrupted
CustomShortcut {
+ name: "controlCenter"
+ description: "Open control center"
+ onPressed: WindowFactory.create()
+ }
+
+ CustomShortcut {
name: "showall"
description: "Toggle launcher, dashboard and osd"
onPressed: {
@@ -62,4 +69,12 @@ Scope {
return Object.keys(visibilities).filter(k => typeof visibilities[k] === "boolean").join("\n");
}
}
+
+ IpcHandler {
+ target: "controlCenter"
+
+ function open(): void {
+ WindowFactory.create();
+ }
+ }
}