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

hyprland running apps improvement

This commit is contained in:
bbedward
2025-08-26 15:55:32 -04:00
parent e2df1da5be
commit 257df891ee
3 changed files with 43 additions and 13 deletions

View File

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

View File

@@ -95,12 +95,13 @@ Item {
title = title.substring(0, 47) + "..."
}
var uniqueId = toplevel.title + "|" + (toplevel.appId || "") + "|" + index
items.push({
"type": "window",
"appId": toplevel.appId || "",
"appId": toplevel.appId,
"windowId": index,
"windowTitle": title,
"workspaceId": -1, // Will be handled by sorting
"workspaceId": -1,
"isPinned": false,
"isRunning": true,
"uniqueId": uniqueId