summaryrefslogtreecommitdiff
path: root/modules/drawers
diff options
context:
space:
mode:
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
+ }
}