diff options
Diffstat (limited to 'modules/bar/components')
| -rw-r--r-- | modules/bar/components/TrayItem.qml | 2 | ||||
| -rw-r--r-- | modules/bar/components/workspaces/SpecialWorkspaces.qml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/bar/components/TrayItem.qml b/modules/bar/components/TrayItem.qml index 1f0a21c..6e7c2c5 100644 --- a/modules/bar/components/TrayItem.qml +++ b/modules/bar/components/TrayItem.qml @@ -30,7 +30,7 @@ MouseArea { let icon = root.modelData.icon; if (icon.includes("?path=")) { const [name, path] = icon.split("?path="); - icon = `file://${path}/${name.slice(name.lastIndexOf("/") + 1)}`; + icon = Qt.resolvedUrl(`${path}/${name.slice(name.lastIndexOf("/") + 1)}`); } return icon; } diff --git a/modules/bar/components/workspaces/SpecialWorkspaces.qml b/modules/bar/components/workspaces/SpecialWorkspaces.qml index 7bebe41..61ec723 100644 --- a/modules/bar/components/workspaces/SpecialWorkspaces.qml +++ b/modules/bar/components/workspaces/SpecialWorkspaces.qml @@ -22,7 +22,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`) } Item { |