diff options
| author | Danilo M. <danix@danix.xyz> | 2026-11-30 11:13:48 +0100 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-11-30 11:13:48 +0100 |
| commit | 1171e628d06b9a943a421770f2f6a05c97f1b0bc (patch) | |
| tree | d3dad1e1b16ca49ccc465cc9aa87d520ad148df1 /desktop/modules | |
| parent | b86fa4da6374bf0f8c76c1bf4ac1a7855e550929 (diff) | |
| download | quickshell-1171e628d06b9a943a421770f2f6a05c97f1b0bc.tar.gz quickshell-1171e628d06b9a943a421770f2f6a05c97f1b0bc.zip | |
feat(deckit): Vikunja URL and the todo toggle
The Services page gets deck-it's [todo] url, and the Dashboard parts
list names the todo module.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'desktop/modules')
| -rw-r--r-- | desktop/modules/deckit/DeckItServicesModule.qml | 4 | ||||
| -rw-r--r-- | desktop/modules/deckit/DeckItServicesPage.qml | 2 | ||||
| -rw-r--r-- | desktop/modules/deckit/Modules.js | 2 |
3 files changed, 5 insertions, 3 deletions
diff --git a/desktop/modules/deckit/DeckItServicesModule.qml b/desktop/modules/deckit/DeckItServicesModule.qml index 5ad3c3e..4bb3eca 100644 --- a/desktop/modules/deckit/DeckItServicesModule.qml +++ b/desktop/modules/deckit/DeckItServicesModule.qml @@ -22,10 +22,10 @@ Module { group: "deck-it" dirty: DeckIt.store.dirty keywords: ["deck-it", "tablet", "services", "obs", "websocket", "llm", "printer", "k1c", "klipper", - "moonraker", "build vm", "sbbuilder", "ssh"] + "moonraker", "build vm", "sbbuilder", "ssh", "vikunja", "todo"] readonly property var fields: [ ["obs", "host", "OBS host"], ["obs", "port", "OBS port"], ["obs", "password", "OBS password"], - ["llm", "url", "LLM dashboard URL"], ["k1c", "url", "K1C Moonraker"], ["sbbuilder", "host", "Build VM host"]] + ["llm", "url", "LLM dashboard URL"], ["k1c", "url", "K1C Moonraker"], ["todo", "url", "Vikunja URL"], ["sbbuilder", "host", "Build VM host"]] searchItems: fields.map(f => ({ text: f[2], key: f[0] + "/" + f[1] })) function refresh() { DeckIt.reload(); } diff --git a/desktop/modules/deckit/DeckItServicesPage.qml b/desktop/modules/deckit/DeckItServicesPage.qml index 5ef0273..4a34f04 100644 --- a/desktop/modules/deckit/DeckItServicesPage.qml +++ b/desktop/modules/deckit/DeckItServicesPage.qml @@ -34,6 +34,8 @@ Column { placeholder: "http://ip:7125"; hint: "The printer's Moonraker address, for the K1C tab. Empty: no printer." } Setting { store: col.st; section: "xbox"; key: "client_id"; label: "Xbox client id" placeholder: "Azure app client id"; hint: "Your Azure app registration, for the Xbox tab. Sign in on the tab." } + Setting { store: col.st; section: "todo"; key: "url"; label: "Vikunja URL" + placeholder: "http://host:3456"; hint: "For the Dashboard's todo row. Its API token goes in ~/.config/deck-it/vikunja-token. Empty: no row." } Setting { store: col.st; section: "sbbuilder"; key: "host"; label: "Build VM host" placeholder: col.st.placeholder("sbbuilder", "host"); hint: "ssh host alias; runs sbb-remote jobs there." } } diff --git a/desktop/modules/deckit/Modules.js b/desktop/modules/deckit/Modules.js index 40a2757..48a9e79 100644 --- a/desktop/modules/deckit/Modules.js +++ b/desktop/modules/deckit/Modules.js @@ -17,7 +17,7 @@ var TABS = ["windows", "obs", "k1c", "assistant", "vm", "xbox"]; var NAMES = { stats: "System", music: "Music", llm: "LLM usage", tablet: "Tablet", sbbuilder: "Build VM", actions: "Sleep with PC lock", windows: "Windows", - obs: "OBS", k1c: "K1C printer", assistant: "Assistant", vm: "VMs", xbox: "Xbox" }; + obs: "OBS", k1c: "K1C printer", assistant: "Assistant", vm: "VMs", xbox: "Xbox", todo: "Vikunja todos" }; function tabs(all) { return all.filter(m => TABS.includes(m)); } function parts(all) { return all.filter(m => !TABS.includes(m)); } |
