summaryrefslogtreecommitdiff
path: root/modules/bar/popouts/Content.qml
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-10-21 19:40:34 +1100
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-10-21 19:40:34 +1100
commit58ac60c47c9ea44665ea0e7814562a6933721aaf (patch)
treecf381d577c9b2a10dd60525a1ba7331d39a702c3 /modules/bar/popouts/Content.qml
parentinternal: fix serviceref lsp warning (diff)
downloadcaelestia-shell-58ac60c47c9ea44665ea0e7814562a6933721aaf.tar.gz
caelestia-shell-58ac60c47c9ea44665ea0e7814562a6933721aaf.tar.bz2
caelestia-shell-58ac60c47c9ea44665ea0e7814562a6933721aaf.zip
bar/popouts: allow disabling individual popouts
Closes #826
Diffstat (limited to 'modules/bar/popouts/Content.qml')
-rw-r--r--modules/bar/popouts/Content.qml8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/bar/popouts/Content.qml b/modules/bar/popouts/Content.qml
index 5c9fdf7..e3f569d 100644
--- a/modules/bar/popouts/Content.qml
+++ b/modules/bar/popouts/Content.qml
@@ -45,7 +45,7 @@ Item {
Popout {
name: "battery"
- source: "Battery.qml"
+ sourceComponent: Battery {}
}
Popout {
@@ -57,12 +57,12 @@ Item {
Popout {
name: "kblayout"
- source: "KbLayout.qml"
+ sourceComponent: KbLayout {}
}
Popout {
name: "lockstatus"
- source: "LockStatus.qml"
+ sourceComponent: LockStatus {}
}
Repeater {
@@ -106,7 +106,7 @@ Item {
id: popout
required property string name
- property bool shouldBeActive: root.wrapper.currentName === name
+ readonly property bool shouldBeActive: root.wrapper.currentName === name
anchors.verticalCenter: parent.verticalCenter
anchors.right: parent.right