diff --git a/components/effects/OpacityMask.qml b/components/effects/OpacityMask.qml index 22e42496..f852f447 100644 --- a/components/effects/OpacityMask.qml +++ b/components/effects/OpacityMask.qml @@ -5,5 +5,5 @@ ShaderEffect { required property Item source required property Item maskSource - fragmentShader: Qt.resolvedUrl(`${Quickshell.shellDir}/assets/shaders/opacitymask.frag.qsb`) + fragmentShader: Quickshell.shellPath("assets/shaders/opacitymask.frag.qsb") } diff --git a/modules/sidebar/NotifDock.qml b/modules/sidebar/NotifDock.qml index 9b865d4c..c38bddce 100644 --- a/modules/sidebar/NotifDock.qml +++ b/modules/sidebar/NotifDock.qml @@ -96,7 +96,7 @@ Item { Image { asynchronous: true - source: Qt.resolvedUrl(`${Quickshell.shellDir}/assets/dino.png`) + source: Quickshell.shellPath("assets/dino.png") fillMode: Image.PreserveAspectFit sourceSize.width: clipRect.width * 0.8 diff --git a/services/NotifData.qml b/services/NotifData.qml index f3bb9eb6..031c87e8 100644 --- a/services/NotifData.qml +++ b/services/NotifData.qml @@ -72,7 +72,7 @@ QtObject { h2 ^= Math.imul(h1 ^ (h1 >>> 13), 3266489909); const hash = (h2 >>> 0).toString(16).padStart(8, 0) + (h1 >>> 0).toString(16).padStart(8, 0); - const cache = `${Paths.notifimagecache}/${hash}.png`; + const cache = Paths.notifimagecache + "/${hash}.png"; CUtils.saveItem(this, Qt.resolvedUrl(cache), () => { notif.image = cache; notif.dummyImageLoader.active = false;