summaryrefslogtreecommitdiff
path: root/modules/drawers/Backgrounds.qml
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-09-18 15:19:15 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-09-18 15:19:15 +1000
commit85d575f6c18017693cb2f3ab07314a0cf43adbe6 (patch)
tree89540859a71162c28c8419af49c75cc3634e6b70 /modules/drawers/Backgrounds.qml
parentlauncher: fix open anim (diff)
downloadcaelestia-shell-85d575f6c18017693cb2f3ab07314a0cf43adbe6.tar.gz
caelestia-shell-85d575f6c18017693cb2f3ab07314a0cf43adbe6.tar.bz2
caelestia-shell-85d575f6c18017693cb2f3ab07314a0cf43adbe6.zip
feat: add sidebar
WIP
Diffstat (limited to 'modules/drawers/Backgrounds.qml')
-rw-r--r--modules/drawers/Backgrounds.qml17
1 files changed, 15 insertions, 2 deletions
diff --git a/modules/drawers/Backgrounds.qml b/modules/drawers/Backgrounds.qml
index e1773a1..7fa2ca1 100644
--- a/modules/drawers/Backgrounds.qml
+++ b/modules/drawers/Backgrounds.qml
@@ -7,6 +7,7 @@ import qs.modules.launcher as Launcher
import qs.modules.dashboard as Dashboard
import qs.modules.bar.popouts as BarPopouts
import qs.modules.utilities as Utilities
+import qs.modules.sidebar as Sidebar
import QtQuick
import QtQuick.Shapes
@@ -24,12 +25,13 @@ Shape {
Osd.Background {
wrapper: root.panels.osd
- startX: root.width - root.panels.session.width
+ startX: root.width - root.panels.session.width - root.panels.sidebar.width
startY: (root.height - wrapper.height) / 2 - rounding
}
Notifications.Background {
wrapper: root.panels.notifications
+ sidebar: sidebar
startX: root.width
startY: 0
@@ -38,7 +40,7 @@ Shape {
Session.Background {
wrapper: root.panels.session
- startX: root.width
+ startX: root.width - root.panels.sidebar.width
startY: (root.height - wrapper.height) / 2 - rounding
}
@@ -66,8 +68,19 @@ Shape {
Utilities.Background {
wrapper: root.panels.utilities
+ sidebar: sidebar
startX: root.width
startY: root.height
}
+
+ Sidebar.Background {
+ id: sidebar
+
+ wrapper: root.panels.sidebar
+ panels: root.panels
+
+ startX: root.width
+ startY: root.panels.notifications.height
+ }
}