diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-05-13 23:24:38 +0800 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-05-13 23:24:38 +0800 |
| commit | 44953ee25fb411d5b1e395803fa8dbff3563a3ce (patch) | |
| tree | 274539876a314bae805ffa9894eab6354e4a7146 /modules/launcher/Launcher.qml | |
| parent | launcher: move to drawers (diff) | |
| download | caelestia-shell-44953ee25fb411d5b1e395803fa8dbff3563a3ce.tar.gz caelestia-shell-44953ee25fb411d5b1e395803fa8dbff3563a3ce.tar.bz2 caelestia-shell-44953ee25fb411d5b1e395803fa8dbff3563a3ce.zip | |
launcher: remove old file
Diffstat (limited to 'modules/launcher/Launcher.qml')
| -rw-r--r-- | modules/launcher/Launcher.qml | 85 |
1 files changed, 0 insertions, 85 deletions
diff --git a/modules/launcher/Launcher.qml b/modules/launcher/Launcher.qml deleted file mode 100644 index d3021b0..0000000 --- a/modules/launcher/Launcher.qml +++ /dev/null @@ -1,85 +0,0 @@ -import "root:/widgets" -import "root:/config" -import Quickshell -import Quickshell.Wayland - -Scope { - id: root - - property bool bindInterrupted - property bool launcherVisible - - LazyLoader { - id: loader - - loading: true - - StyledWindow { - id: win - - name: "launcher" - keyboardFocus: root.launcherVisible ? WlrKeyboardFocus.Exclusive : WlrKeyboardFocus.None - visible: wrapper.shouldBeVisible - - mask: Region { - item: wrapper - } - - anchors.top: true - anchors.left: true - anchors.bottom: true - anchors.right: true - - Background { - id: bg - - visible: false - - anchors.horizontalCenter: parent.horizontalCenter - anchors.bottom: parent.bottom - - wrapperWidth: wrapper.width - wrapperHeight: Math.min(wrapper.height, content.height) - } - - LayerShadow { - source: bg - } - - Wrapper { - id: wrapper - - anchors.horizontalCenter: parent.horizontalCenter - anchors.bottom: parent.bottom - - implicitWidth: content.width + bg.rounding * 2 - - launcherVisible: root.launcherVisible - contentHeight: content.height - - Content { - id: content - - launcher: root - } - } - } - } - - CustomShortcut { - name: "launcher" - description: "Toggle launcher" - onPressed: root.bindInterrupted = false - onReleased: { - if (!root.bindInterrupted) - root.launcherVisible = !root.launcherVisible; - root.bindInterrupted = false; - } - } - - CustomShortcut { - name: "launcherInterrupt" - description: "Interrupt launcher keybind" - onPressed: root.bindInterrupted = true - } -} |