summaryrefslogtreecommitdiff
path: root/modules/controlcenter/taskbar/ConnectedButtonGroup.qml
diff options
context:
space:
mode:
authorATMDA <atdma2600@gmail.com>2025-11-17 12:21:44 -0500
committerATMDA <atdma2600@gmail.com>2025-11-17 12:21:44 -0500
commit821ee4389ab2a81c5abba910936662d22e5f0480 (patch)
tree069e73760806f5dac4e2032d3fdb30b397091569 /modules/controlcenter/taskbar/ConnectedButtonGroup.qml
parentcontrolcenter: relabled buttons in connected group (diff)
downloadcaelestia-shell-821ee4389ab2a81c5abba910936662d22e5f0480.tar.gz
caelestia-shell-821ee4389ab2a81c5abba910936662d22e5f0480.tar.bz2
caelestia-shell-821ee4389ab2a81c5abba910936662d22e5f0480.zip
controlcenter: taskbar panel layout reorg
Diffstat (limited to 'modules/controlcenter/taskbar/ConnectedButtonGroup.qml')
-rw-r--r--modules/controlcenter/taskbar/ConnectedButtonGroup.qml18
1 files changed, 18 insertions, 0 deletions
diff --git a/modules/controlcenter/taskbar/ConnectedButtonGroup.qml b/modules/controlcenter/taskbar/ConnectedButtonGroup.qml
index 83ff95e..e35ccfc 100644
--- a/modules/controlcenter/taskbar/ConnectedButtonGroup.qml
+++ b/modules/controlcenter/taskbar/ConnectedButtonGroup.qml
@@ -113,6 +113,24 @@ StyledRect {
button.isChecked = root.rootItem.showLockStatus;
}
}
+
+ function onTrayBackgroundChanged() {
+ if (modelData.propertyName === "trayBackground") {
+ button.isChecked = root.rootItem.trayBackground;
+ }
+ }
+
+ function onTrayCompactChanged() {
+ if (modelData.propertyName === "trayCompact") {
+ button.isChecked = root.rootItem.trayCompact;
+ }
+ }
+
+ function onTrayRecolourChanged() {
+ if (modelData.propertyName === "trayRecolour") {
+ button.isChecked = root.rootItem.trayRecolour;
+ }
+ }
}
// Match utilities Toggles radius styling