1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-04-04 04:42:05 -04:00

dock: resolve icons for pre-substituted app IDs (#1669)

This commit is contained in:
Connor Welsh
2026-02-13 21:40:17 -05:00
committed by GitHub
parent 59d37847ec
commit bb8e0d384f

View File

@@ -80,7 +80,10 @@ Singleton {
return Quickshell.iconPath(moddedId, true);
}
return desktopEntry && desktopEntry.icon ? Quickshell.iconPath(desktopEntry.icon, true) : "";
if (desktopEntry && desktopEntry.icon) {
return Quickshell.iconPath(desktopEntry.icon, true);
}
return Quickshell.iconPath(appId, true);
}
function getAppName(appId: string, desktopEntry: var): string {