Feat: Custom modules can now be created through a JSON file. (#887)

* Feat: Custom modules can now be created through a JSON file.

* Added the ability to consume labels and icons.

* Add all properties but styling.

* Wrap up implementation.

* Rename custom modules to basic modules to make way for new actually custom modules.
This commit is contained in:
Jas Singh
2025-04-07 01:52:39 -07:00
committed by GitHub
parent 483facfa56
commit 93235f0fb1
31 changed files with 820 additions and 377 deletions

7
app.ts
View File

@@ -53,12 +53,15 @@ App.start({
requestHandler(request: string, res: (response: unknown) => void) {
runCLI(request, res);
},
main() {
async main() {
initializeStartupScripts();
Notifications();
OSD();
forMonitors(Bar).forEach((bar: JSX.Element) => bar);
const barsForMonitors = await forMonitors(Bar);
barsForMonitors.forEach((bar: JSX.Element) => bar);
SettingsDialog();
initializeMenus();