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

fixing spotify app id in top levels

This commit is contained in:
bbedward
2025-08-25 09:56:48 -04:00
parent a0e825c37e
commit ce3c1528f9
5 changed files with 18 additions and 7 deletions

View File

@@ -45,4 +45,11 @@ Singleton {
function copy(from: url, to: url): void {
Quickshell.execDetached(["cp", strip(from), strip(to)])
}
// ! Spotify and maybe some other apps report the wrong app id in toplevels, hardcode special case
function moddedAppId(appId: string): string {
if (appId === "Spotify")
return "spotify-launcher"
return appId
}
}