Added the ability to define custom icons for the system tray. (#408)

* Added the ability to define custom icons for the system tray.

* Add placeholder icon if icon is not defined.

* Update themes
This commit is contained in:
Jas Singh
2024-10-30 21:16:15 -07:00
committed by GitHub
parent aaad7c73b5
commit 77d4512c82
51 changed files with 534 additions and 399 deletions

7
globals/systray.ts Normal file
View File

@@ -0,0 +1,7 @@
const systemtray = await Service.import('systemtray');
globalThis.getSystrayItems = (): string => {
return systemtray.items.map((systrayItem) => systrayItem.id).join('\n');
};
export { getSystrayItems };