diff --git a/quickshell/Common/Paths.qml b/quickshell/Common/Paths.qml index ffc23224..e0c1f417 100644 --- a/quickshell/Common/Paths.qml +++ b/quickshell/Common/Paths.qml @@ -78,6 +78,10 @@ Singleton { const moddedId = moddedAppId(appId); if (moddedId !== appId) { + if (moddedId.startsWith("~") || moddedId.startsWith("/")) + return toFileUrl(expandTilde(moddedId)); + if (moddedId.startsWith("file://")) + return moddedId; return Quickshell.iconPath(moddedId, true); }