Files
z-bar-qt/Modules/Lock/UserImage.qml
T

25 lines
398 B
QML

import Quickshell
import Quickshell.Widgets
import QtQuick
import qs.Paths
Item {
id: root
ClippingRectangle {
anchors.fill: parent
radius: Appearance.rounding.full
Image {
id: userImage
anchors.fill: parent
asynchronous: true
fillMode: Image.PreserveAspectCrop
source: `${Paths.home}/.face`
sourceSize.height: parent.height
sourceSize.width: parent.width
}
}
}