1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-04-04 12:52:06 -04:00

qs: set app ID to com.danklinux.dms

This commit is contained in:
bbedward
2026-03-20 10:03:33 -04:00
parent 1caf8942b7
commit 1a9449da1b
11 changed files with 30 additions and 17 deletions

View File

@@ -344,7 +344,7 @@ Item {
groupedToplevel.activate();
}
} else if (contextMenu) {
const shouldHidePin = appData.appId === "org.quickshell";
const shouldHidePin = appData.appId === "org.quickshell" || appData.appId === "com.danklinux.dms";
contextMenu.showForButton(root, appData, root.height + 25, shouldHidePin, cachedDesktopEntry, parentDockScreen, dockApps);
}
break;
@@ -391,7 +391,7 @@ Item {
break;
case "grouped":
if (contextMenu) {
const shouldHidePin = appData.appId === "org.quickshell";
const shouldHidePin = appData.appId === "org.quickshell" || appData.appId === "com.danklinux.dms";
contextMenu.showForButton(root, appData, root.height, shouldHidePin, cachedDesktopEntry, parentDockScreen, dockApps);
}
break;
@@ -414,7 +414,7 @@ Item {
} else if (mouse.button === Qt.RightButton) {
if (!contextMenu)
return;
const shouldHidePin = appData.appId === "org.quickshell";
const shouldHidePin = appData.appId === "org.quickshell" || appData.appId === "com.danklinux.dms";
contextMenu.showForButton(root, appData, root.height, shouldHidePin, cachedDesktopEntry, parentDockScreen, dockApps);
}
}
@@ -471,7 +471,7 @@ Item {
id: iconImg
anchors.centerIn: parent
implicitSize: appData && appData.appId === "org.quickshell" ? actualIconSize * 0.85 : actualIconSize
implicitSize: appData && (appData.appId === "org.quickshell" || appData.appId === "com.danklinux.dms") ? actualIconSize * 0.85 : actualIconSize
source: {
if (!appData || appData.appId === "__SEPARATOR__") {
return "";
@@ -485,7 +485,7 @@ Item {
smooth: true
asynchronous: true
visible: status === Image.Ready && !coreIcon.visible
layer.enabled: appData && appData.appId === "org.quickshell"
layer.enabled: appData && (appData.appId === "org.quickshell" || appData.appId === "com.danklinux.dms")
layer.smooth: true
layer.mipmap: true
layer.effect: MultiEffect {