mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-04-12 00:32:17 -04:00
dock: resolve icons for pre-substituted app IDs (#1669)
This commit is contained in:
@@ -80,7 +80,10 @@ Singleton {
|
|||||||
return Quickshell.iconPath(moddedId, true);
|
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 {
|
function getAppName(appId: string, desktopEntry: var): string {
|
||||||
|
|||||||
Reference in New Issue
Block a user