summaryrefslogtreecommitdiff
path: root/modules/drawers/Panels.qml
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-05-13 16:30:53 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-05-13 16:30:53 +1000
commitad7c6ea98e4588172398669bb8b7939999c7f121 (patch)
tree29cf2fb3e7ccd3884b83f97b7f457be1311ebed0 /modules/drawers/Panels.qml
parentnotifs: better sliding (diff)
downloadcaelestia-shell-ad7c6ea98e4588172398669bb8b7939999c7f121.tar.gz
caelestia-shell-ad7c6ea98e4588172398669bb8b7939999c7f121.tar.bz2
caelestia-shell-ad7c6ea98e4588172398669bb8b7939999c7f121.zip
refactor: move to single window
Diffstat (limited to 'modules/drawers/Panels.qml')
-rw-r--r--modules/drawers/Panels.qml25
1 files changed, 25 insertions, 0 deletions
diff --git a/modules/drawers/Panels.qml b/modules/drawers/Panels.qml
new file mode 100644
index 0000000..fd56f1b
--- /dev/null
+++ b/modules/drawers/Panels.qml
@@ -0,0 +1,25 @@
+import "root:/widgets"
+import "root:/services"
+import "root:/config"
+import "root:/modules/osd" as Osd
+import Quickshell
+import QtQuick
+
+Item {
+ id: root
+
+ required property ShellScreen screen
+ readonly property Osd.Wrapper osd: osd
+
+ anchors.fill: parent
+ anchors.margins: BorderConfig.thickness
+
+ Osd.Wrapper {
+ id: osd
+
+ screen: root.screen
+
+ anchors.verticalCenter: parent.verticalCenter
+ anchors.right: parent.right
+ }
+}