summaryrefslogtreecommitdiff
path: root/modules/drawers
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-05-13 23:12:23 +0800
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-05-13 23:12:23 +0800
commitf8eb1b69a034f4aa2833271a0c6b999cfe2a477e (patch)
tree012e14e3e6fbb890a7fbabc70e19e9f65d160400 /modules/drawers
parentsession: show/hide on drag (diff)
downloadcaelestia-shell-f8eb1b69a034f4aa2833271a0c6b999cfe2a477e.tar.gz
caelestia-shell-f8eb1b69a034f4aa2833271a0c6b999cfe2a477e.tar.bz2
caelestia-shell-f8eb1b69a034f4aa2833271a0c6b999cfe2a477e.zip
launcher: move to drawers
Diffstat (limited to 'modules/drawers')
-rw-r--r--modules/drawers/Backgrounds.qml10
-rw-r--r--modules/drawers/Panels.qml11
2 files changed, 19 insertions, 2 deletions
diff --git a/modules/drawers/Backgrounds.qml b/modules/drawers/Backgrounds.qml
index 017b883..3e0156f 100644
--- a/modules/drawers/Backgrounds.qml
+++ b/modules/drawers/Backgrounds.qml
@@ -3,8 +3,7 @@ import "root:/config"
import "root:/modules/osd" as Osd
import "root:/modules/notifications" as Notifications
import "root:/modules/session" as Session
-import Quickshell
-import QtQuick
+import "root:/modules/launcher" as Launcher
import QtQuick.Shapes
Shape {
@@ -37,4 +36,11 @@ Shape {
startX: root.width
startY: (root.height - wrapper.height) / 2
}
+
+ Launcher.Background {
+ wrapper: panels.launcher
+
+ startX: (root.width - wrapper.width) / 2
+ startY: root.height
+ }
}
diff --git a/modules/drawers/Panels.qml b/modules/drawers/Panels.qml
index c903fff..ab5f8de 100644
--- a/modules/drawers/Panels.qml
+++ b/modules/drawers/Panels.qml
@@ -2,6 +2,7 @@ import "root:/config"
import "root:/modules/osd" as Osd
import "root:/modules/notifications" as Notifications
import "root:/modules/session" as Session
+import "root:/modules/launcher" as Launcher
import Quickshell
import QtQuick
@@ -14,6 +15,7 @@ Item {
readonly property Osd.Wrapper osd: osd
readonly property Notifications.Wrapper notifications: notifications
readonly property Session.Wrapper session: session
+ readonly property Launcher.Wrapper launcher: launcher
anchors.fill: parent
anchors.margins: BorderConfig.thickness
@@ -47,4 +49,13 @@ Item {
anchors.verticalCenter: parent.verticalCenter
anchors.right: parent.right
}
+
+ Launcher.Wrapper {
+ id: launcher
+
+ visibilities: root.visibilities
+
+ anchors.horizontalCenter: parent.horizontalCenter
+ anchors.bottom: parent.bottom
+ }
}