aboutsummaryrefslogtreecommitdiffstats
path: root/desktop/modules/deckit/Modules.js
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/modules/deckit/Modules.js')
-rw-r--r--desktop/modules/deckit/Modules.js24
1 files changed, 24 insertions, 0 deletions
diff --git a/desktop/modules/deckit/Modules.js b/desktop/modules/deckit/Modules.js
new file mode 100644
index 0000000..7bfbdbc
--- /dev/null
+++ b/desktop/modules/deckit/Modules.js
@@ -0,0 +1,24 @@
+// Copyright (C) 2026 Danilo M. <danix@danix.xyz>
+//
+// This program is free software; you can redistribute it and/or modify
+// it under the terms of the GNU General Public License version 2 as
+// published by the Free Software Foundation.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+.pragma library
+
+// deck-it's [modules] split for the pages: the ones with a tab of their own,
+// and the rest, which only feed the Dashboard. A module deck-it adds later
+// lands with the Dashboard ones until it is listed here.
+var TABS = ["windows", "obs", "k1c", "assistant"];
+var NAMES = { stats: "System", music: "Music", llm: "LLM usage", tablet: "Tablet",
+ sbbuilder: "Build VM", actions: "Action icons", windows: "Windows",
+ obs: "OBS", k1c: "K1C printer", assistant: "Assistant" };
+
+function tabs(all) { return all.filter(m => TABS.includes(m)); }
+function parts(all) { return all.filter(m => !TABS.includes(m)); }
+function name(m) { return NAMES[m] ?? m; }