diff options
| author | Danilo M. <danix@danix.xyz> | 2026-11-10 20:14:04 +0100 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-11-10 20:14:04 +0100 |
| commit | dd3e17cb9765f7643c8a5ccdfa36481618fa897a (patch) | |
| tree | 09eee2c8c7e07d7662203f7755d24639365866aa /desktop/modules/deckit/DeckItGeneralPage.qml | |
| parent | cd7035be76c82c15d172a6827c3c8f81df723424 (diff) | |
| download | quickshell-dd3e17cb9765f7643c8a5ccdfa36481618fa897a.tar.gz quickshell-dd3e17cb9765f7643c8a5ccdfa36481618fa897a.zip | |
feat(deckit): tabs and dashboard parts in separate lists
deck-it's [modules] were one list mixing tabs and dashboard parts. The
General page now lists the tabs (Windows, OBS, K1C printer, Assistant)
and the Dashboard page the parts, each under a readable name;
Modules.js holds the split.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'desktop/modules/deckit/DeckItGeneralPage.qml')
| -rw-r--r-- | desktop/modules/deckit/DeckItGeneralPage.qml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/desktop/modules/deckit/DeckItGeneralPage.qml b/desktop/modules/deckit/DeckItGeneralPage.qml index 358574f..776099a 100644 --- a/desktop/modules/deckit/DeckItGeneralPage.qml +++ b/desktop/modules/deckit/DeckItGeneralPage.qml @@ -13,6 +13,7 @@ import Quickshell import QtQuick import "../.." import "../qtmaildir" +import "Modules.js" as Modules // deck-it's General page: the intro, Start, Display and Advanced. Every field // edits the draft of ~/.config/deck-it/config.toml shared by the four deck-it @@ -76,6 +77,17 @@ Column { Setting { store: col.st; section: "display"; key: "name"; label: "Output name" placeholder: col.st.placeholder("display", "name") } + Heading { objectName: "modules/tabs"; text: "Tabs" } + Small { text: "The tablet's tabs beside the Dashboard." } + Repeater { + model: Modules.tabs(Object.keys(col.def("modules") ?? {})) + BoolSetting { + required property string modelData + store: col.st; section: "modules"; key: modelData; label: Modules.name(modelData) + fallback: col.def("modules", modelData) ?? true + } + } + Heading { text: "Advanced" } Setting { store: col.st; section: "ports"; key: "command_center"; label: "Dashboard port"; kind: "int"; min: 1024; max: 65535 placeholder: col.st.placeholder("ports", "command_center"); hint: "On the tablet's localhost, through adb reverse." } |
