summaryrefslogtreecommitdiff
path: root/modules/drawers/Panels.qml
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-06-02 16:31:26 +0800
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-06-02 16:31:26 +0800
commit24a3da813862623b3eec05ef5050ba715e08c684 (patch)
tree1674c1be77e48befe6e877b421f799deca6c4475 /modules/drawers/Panels.qml
parentosd: fix text not updating during transition (diff)
downloadcaelestia-shell-24a3da813862623b3eec05ef5050ba715e08c684.tar.gz
caelestia-shell-24a3da813862623b3eec05ef5050ba715e08c684.tar.bz2
caelestia-shell-24a3da813862623b3eec05ef5050ba715e08c684.zip
feat: bar popouts
Create active window popout
Diffstat (limited to 'modules/drawers/Panels.qml')
-rw-r--r--modules/drawers/Panels.qml12
1 files changed, 12 insertions, 0 deletions
diff --git a/modules/drawers/Panels.qml b/modules/drawers/Panels.qml
index 5ea7e83..844a719 100644
--- a/modules/drawers/Panels.qml
+++ b/modules/drawers/Panels.qml
@@ -5,6 +5,7 @@ import "root:/modules/notifications" as Notifications
import "root:/modules/session" as Session
import "root:/modules/launcher" as Launcher
import "root:/modules/dashboard" as Dashboard
+import "root:/modules/bar/popouts" as BarPopouts
import Quickshell
import QtQuick
@@ -19,6 +20,7 @@ Item {
readonly property Session.Wrapper session: session
readonly property Launcher.Wrapper launcher: launcher
readonly property Dashboard.Wrapper dashboard: dashboard
+ readonly property BarPopouts.Wrapper popouts: popouts
anchors.fill: parent
anchors.margins: BorderConfig.thickness
@@ -70,4 +72,14 @@ Item {
anchors.horizontalCenter: parent.horizontalCenter
anchors.top: parent.top
}
+
+ BarPopouts.Wrapper {
+ id: popouts
+
+ screen: root.screen
+
+ anchors.left: parent.left
+ anchors.verticalCenter: parent.top
+ anchors.verticalCenterOffset: Popouts.currentCenter - BorderConfig.thickness
+ }
}