diff options
| author | Freya Murphy <freya@freyacat.org> | 2026-01-08 17:00:30 -0500 |
|---|---|---|
| committer | Freya Murphy <freya@freyacat.org> | 2026-01-08 17:00:30 -0500 |
| commit | 1e258986aedae45f6046731840a38613997861a8 (patch) | |
| tree | 97bc34be43c96ddf3251ad98f0bab7ec664dab28 /modules/controlcenter/appearance | |
| parent | remove pfp (diff) | |
| download | caelestia-shell-1e258986aedae45f6046731840a38613997861a8.tar.gz caelestia-shell-1e258986aedae45f6046731840a38613997861a8.tar.bz2 caelestia-shell-1e258986aedae45f6046731840a38613997861a8.zip | |
hardcode single wallpaper
Diffstat (limited to 'modules/controlcenter/appearance')
| -rw-r--r-- | modules/controlcenter/appearance/AppearancePane.qml | 57 |
1 files changed, 2 insertions, 55 deletions
diff --git a/modules/controlcenter/appearance/AppearancePane.qml b/modules/controlcenter/appearance/AppearancePane.qml index b6acbe5..37ae4a8 100644 --- a/modules/controlcenter/appearance/AppearancePane.qml +++ b/modules/controlcenter/appearance/AppearancePane.qml @@ -76,57 +76,6 @@ Item { Config.save(); } - Component { - id: appearanceRightContentComponent - - Item { - id: rightAppearanceFlickable - - ColumnLayout { - id: contentLayout - - anchors.fill: parent - spacing: 0 - - StyledText { - Layout.alignment: Qt.AlignHCenter - Layout.bottomMargin: Appearance.spacing.normal - text: qsTr("Wallpaper") - font.pointSize: Appearance.font.size.extraLarge - font.weight: 600 - } - - Loader { - id: wallpaperLoader - - Layout.fillWidth: true - Layout.fillHeight: true - Layout.bottomMargin: -Appearance.padding.large * 2 - - asynchronous: true - active: { - const isActive = root.session.activeIndex === 3; - const isAdjacent = Math.abs(root.session.activeIndex - 3) === 1; - const splitLayout = root.children[0]; - const loader = splitLayout && splitLayout.rightLoader ? splitLayout.rightLoader : null; - const shouldActivate = loader && loader.item !== null && (isActive || isAdjacent); - return shouldActivate; - } - - onStatusChanged: { - if (status === Loader.Error) { - console.error("[AppearancePane] Wallpaper loader error!"); - } - } - - sourceComponent: WallpaperGrid { - session: root.session - } - } - } - } - } - SplitPaneLayout { anchors.fill: parent @@ -148,10 +97,10 @@ Item { anchors.left: parent.left anchors.right: parent.right spacing: Appearance.spacing.small - + readonly property var rootPane: sidebarFlickable.rootPane - readonly property bool allSectionsExpanded: + readonly property bool allSectionsExpanded: themeModeSection.expanded && colorVariantSection.expanded && colorSchemeSection.expanded && @@ -238,7 +187,5 @@ Item { } } } - - rightContent: appearanceRightContentComponent } } |