diff options
| author | Freya Murphy <freya@freyacat.org> | 2026-03-16 17:07:54 -0400 |
|---|---|---|
| committer | Freya Murphy <freya@freyacat.org> | 2026-03-16 17:07:54 -0400 |
| commit | bb6717666a669aa81cda28896ed292ca5af55ece (patch) | |
| tree | 5f3c5fed20fd3bf8fe38e10d7e09b81558c64a79 /modules/Shortcuts.qml | |
| parent | add date to clock (diff) | |
| download | caelestia-shell-bb6717666a669aa81cda28896ed292ca5af55ece.tar.gz caelestia-shell-bb6717666a669aa81cda28896ed292ca5af55ece.tar.bz2 caelestia-shell-bb6717666a669aa81cda28896ed292ca5af55ece.zip | |
change things
Diffstat (limited to 'modules/Shortcuts.qml')
| -rw-r--r-- | modules/Shortcuts.qml | 28 |
1 files changed, 1 insertions, 27 deletions
diff --git a/modules/Shortcuts.qml b/modules/Shortcuts.qml index 3bf20a4..348a119 100644 --- a/modules/Shortcuts.qml +++ b/modules/Shortcuts.qml @@ -1,5 +1,4 @@ import qs.components.misc -import qs.modules.controlcenter import qs.services import Caelestia import Quickshell @@ -12,19 +11,13 @@ Scope { readonly property bool hasFullscreen: Hypr.focusedWorkspace?.toplevels.values.some(t => t.lastIpcObject.fullscreen === 2) ?? false CustomShortcut { - name: "controlCenter" - description: "Open control center" - onPressed: WindowFactory.create() - } - - CustomShortcut { name: "showall" description: "Toggle launcher, dashboard and osd" onPressed: { if (root.hasFullscreen) return; const v = Visibilities.getForActive(); - v.launcher = v.dashboard = v.osd = v.utilities = !(v.launcher || v.dashboard || v.osd || v.utilities); + v.launcher = v.dashboard = v.osd = !(v.launcher || v.dashboard || v.osd); } } @@ -81,17 +74,6 @@ Scope { } } - CustomShortcut { - name: "utilities" - description: "Toggle utilities" - onPressed: { - if (root.hasFullscreen) - return; - const visibilities = Visibilities.getForActive(); - visibilities.utilities = !visibilities.utilities; - } - } - IpcHandler { target: "drawers" @@ -113,14 +95,6 @@ Scope { } IpcHandler { - target: "controlCenter" - - function open(): void { - WindowFactory.create(); - } - } - - IpcHandler { target: "toaster" function info(title: string, message: string, icon: string): void { |