summaryrefslogtreecommitdiff
path: root/modules/launcher/items/WallpaperItem.qml
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-09-03 22:59:47 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-09-03 22:59:47 +1000
commit0dc75259feadc8ffa86dce7d60a203e77727a7d4 (patch)
treee7c395f61ba7a2cd676820a09b6c5c8eb9f963c7 /modules/launcher/items/WallpaperItem.qml
parentplugin/fsm: emit entriesChanged (diff)
downloadcaelestia-shell-0dc75259feadc8ffa86dce7d60a203e77727a7d4.tar.gz
caelestia-shell-0dc75259feadc8ffa86dce7d60a203e77727a7d4.tar.bz2
caelestia-shell-0dc75259feadc8ffa86dce7d60a203e77727a7d4.zip
launcher/wallpaper: add placeholder
Diffstat (limited to 'modules/launcher/items/WallpaperItem.qml')
-rw-r--r--modules/launcher/items/WallpaperItem.qml14
1 files changed, 11 insertions, 3 deletions
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