1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-26 22:42:50 -05:00

fix: Workspace padding settings

This commit is contained in:
purian23
2025-08-26 22:03:13 -04:00
parent dfd5524516
commit eda3ee8d3b
2 changed files with 11 additions and 1 deletions

View File

@@ -277,7 +277,11 @@ Item {
anchors.centerIn: parent
implicitSize: 40
source: appData.appId !== "__SEPARATOR__" ? Quickshell.iconPath(DesktopEntries.byId(Paths.moddedAppId(appData.appId)).icon, true) : ""
source: {
if (appData.appId === "__SEPARATOR__") return ""
var desktopEntry = DesktopEntries.byId(Paths.moddedAppId(appData.appId))
return desktopEntry && desktopEntry.icon ? Quickshell.iconPath(desktopEntry.icon, true) : ""
}
mipmap: true
smooth: true
asynchronous: true