@domicile-desktop/system-apps 0.0.0-alpha-1e9a347761fa → 0.0.0-alpha-e3bf27e5abda

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "dependencies": {
3
3
  "@cprussin/option-result": "^2.0.1",
4
- "@domicile-desktop/sdk": "0.0.0-alpha-1e9a347761fa",
4
+ "@domicile-desktop/sdk": "0.0.0-alpha-e3bf27e5abda",
5
5
  "zod": "^4.5.4"
6
6
  },
7
7
  "description": "Installed applications and bookmarks for a Domicile shell's launcher, read through @domicile-desktop/sdk/system.",
@@ -48,5 +48,5 @@
48
48
  "test:unit": "bun test"
49
49
  },
50
50
  "type": "module",
51
- "version": "0.0.0-alpha-1e9a347761fa"
51
+ "version": "0.0.0-alpha-e3bf27e5abda"
52
52
  }
@@ -29,6 +29,8 @@ export type DesktopEntry = {
29
29
  icon: string | undefined;
30
30
  /** `X-Domicile-Preview`, in the same form as `icon`. */
31
31
  preview: string | undefined;
32
+ /** `StartupWMClass`: the app id of the window it opens, if not its own id. */
33
+ windowClass: string | undefined;
32
34
  };
33
35
 
34
36
  /**
@@ -64,6 +66,7 @@ export const parseDesktopEntry = (
64
66
  .filter((type) => type !== ""),
65
67
  name: unescaped(name),
66
68
  preview: optional(keys.get("X-Domicile-Preview")),
69
+ windowClass: optional(keys.get("StartupWMClass")),
67
70
  words: [name, keys.get("GenericName") ?? "", keys.get("Keywords") ?? ""]
68
71
  .map(unescaped)
69
72
  .join("\n")