* Added the ability to define custom icons for the system tray. * Add placeholder icon if icon is not defined. * Update themes
8 lines
210 B
TypeScript
8 lines
210 B
TypeScript
const systemtray = await Service.import('systemtray');
|
|
|
|
globalThis.getSystrayItems = (): string => {
|
|
return systemtray.items.map((systrayItem) => systrayItem.id).join('\n');
|
|
};
|
|
|
|
export { getSystrayItems };
|