1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-24 21:42:51 -05:00

Fix: missing system logo and app icons on Guix System (#616)

* Fix for Guix logo not being shown

* Fixed icons not being shown in Workspace Switcher. Also added a DesktopService with a function to get the icon path

* Fixed some icons not being shown + Icons in app drawer

* Fixed icons not appearing in Spotlight

* Adapted missing icons in app launcher/spotlight

* Removed (now) useless change
This commit is contained in:
Aleksandr Lebedev
2025-11-06 17:51:22 +00:00
committed by GitHub
parent 69accb5319
commit 946a28d3be
6 changed files with 74 additions and 5 deletions

View File

@@ -162,13 +162,13 @@ Item {
return
}
const keyBase = (w.app_id || w.appId || w.class || w.windowClass || "unknown").toLowerCase()
const keyBase = (w.app_id || w.appId || w.class || w.windowClass || "unknown")
const key = isActiveWs ? `${keyBase}_${i}` : keyBase
if (!byApp[key]) {
const moddedId = Paths.moddedAppId(keyBase)
const isSteamApp = moddedId.toLowerCase().includes("steam_app")
const icon = isSteamApp ? "" : Quickshell.iconPath(DesktopEntries.heuristicLookup(moddedId)?.icon, true)
const icon = isSteamApp ? "" : DesktopService.resolveIconPath(moddedId)
byApp[key] = {
"type": "icon",
"icon": icon,