From 85d575f6c18017693cb2f3ab07314a0cf43adbe6 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Thu, 18 Sep 2025 15:19:15 +1000 Subject: feat: add sidebar WIP --- modules/drawers/Backgrounds.qml | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) (limited to 'modules/drawers/Backgrounds.qml') 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 + } } -- cgit v1.2.3-freya