From 0dc75259feadc8ffa86dce7d60a203e77727a7d4 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Wed, 3 Sep 2025 22:59:47 +1000 Subject: launcher/wallpaper: add placeholder --- modules/launcher/items/WallpaperItem.qml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'modules/launcher') diff --git a/modules/launcher/items/WallpaperItem.qml b/modules/launcher/items/WallpaperItem.qml index 0b8f03a..9ec6efa 100644 --- a/modules/launcher/items/WallpaperItem.qml +++ b/modules/launcher/items/WallpaperItem.qml @@ -8,7 +8,7 @@ import Quickshell import Quickshell.Widgets import QtQuick -StyledRect { +Item { id: root required property FileSystemEntry modelData @@ -46,17 +46,25 @@ StyledRect { } } - ClippingRectangle { + StyledClippingRect { id: image anchors.horizontalCenter: parent.horizontalCenter y: Appearance.padding.large - color: "transparent" + color: Colours.tPalette.m3surfaceContainer radius: Appearance.rounding.normal implicitWidth: Config.launcher.sizes.wallpaperWidth implicitHeight: implicitWidth / 16 * 9 + MaterialIcon { + anchors.centerIn: parent + text: "image" + color: Colours.tPalette.m3outline + font.pointSize: Appearance.font.size.extraLarge * 2 + font.weight: 600 + } + CachingImage { path: root.modelData.path smooth: !root.PathView.view.moving -- cgit v1.2.3-freya