1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-26 14:32:52 -05:00

no purple grid fallbacks, rely on system icons only

This commit is contained in:
bbedward
2025-08-25 09:23:45 -04:00
parent fb7a019786
commit a0e825c37e
8 changed files with 17 additions and 50 deletions

View File

@@ -116,20 +116,7 @@ Rectangle {
anchors.verticalCenter: parent.verticalCenter
width: 18
height: 18
source: {
if (!appId)
return ""
var desktopEntry = DesktopEntries.byId(appId)
if (desktopEntry && desktopEntry.icon) {
var iconPath = Quickshell.iconPath(
desktopEntry.icon,
SettingsData.iconTheme
=== "System Default" ? "" : SettingsData.iconTheme)
return iconPath
}
return ""
}
source: Quickshell.iconPath(DesktopEntries.byId(appId).icon, true)
smooth: true
mipmap: true
asynchronous: true