summaryrefslogtreecommitdiff
path: root/modules/drawers/Panels.qml
diff options
context:
space:
mode:
Diffstat (limited to 'modules/drawers/Panels.qml')
-rw-r--r--modules/drawers/Panels.qml5
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/drawers/Panels.qml b/modules/drawers/Panels.qml
index fd56f1b..06b4a09 100644
--- a/modules/drawers/Panels.qml
+++ b/modules/drawers/Panels.qml
@@ -1,5 +1,3 @@
-import "root:/widgets"
-import "root:/services"
import "root:/config"
import "root:/modules/osd" as Osd
import Quickshell
@@ -9,6 +7,8 @@ Item {
id: root
required property ShellScreen screen
+ required property PersistentProperties visibilities
+
readonly property Osd.Wrapper osd: osd
anchors.fill: parent
@@ -18,6 +18,7 @@ Item {
id: osd
screen: root.screen
+ visibility: visibilities.osd
anchors.verticalCenter: parent.verticalCenter
anchors.right: parent.right