summaryrefslogtreecommitdiff
path: root/modules/launcher
diff options
context:
space:
mode:
Diffstat (limited to 'modules/launcher')
-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