summaryrefslogtreecommitdiff
path: root/modules/lock
diff options
context:
space:
mode:
Diffstat (limited to 'modules/lock')
-rw-r--r--modules/lock/Media.qml2
-rw-r--r--modules/lock/NotifDock.qml2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/lock/Media.qml b/modules/lock/Media.qml
index 5046712..79bd285 100644
--- a/modules/lock/Media.qml
+++ b/modules/lock/Media.qml
@@ -31,7 +31,7 @@ Item {
required property Item source
readonly property Item maskSource: mask
- fragmentShader: `file://${Quickshell.shellDir}/assets/shaders/opacitymask.frag.qsb`
+ fragmentShader: Qt.resolvedUrl(`${Quickshell.shellDir}/assets/shaders/opacitymask.frag.qsb`)
}
opacity: status === Image.Ready ? 1 : 0
diff --git a/modules/lock/NotifDock.qml b/modules/lock/NotifDock.qml
index 0a76545..ac40319 100644
--- a/modules/lock/NotifDock.qml
+++ b/modules/lock/NotifDock.qml
@@ -49,7 +49,7 @@ ColumnLayout {
Image {
asynchronous: true
- source: `file://${Quickshell.shellDir}/assets/dino.png`
+ source: Qt.resolvedUrl(`${Quickshell.shellDir}/assets/dino.png`)
fillMode: Image.PreserveAspectFit
sourceSize.width: clipRect.width * 0.8