Skip to content

fix: read the Geode vault path from injected settings - #9

Merged
VirtualMachinist merged 1 commit into
mainfrom
feat/omarchy-status
Sep 24, 2026
Merged

VirtualMachinist merged 1 commit into
mainfrom
feat/omarchy-status

Conversation

@VirtualMachinist

Copy link
Copy Markdown
Owner

Summary

  • BarWidget.qml now has property var settings. vaultPath is derived from settings.vaultPath, which is what lathe Bar.qml injectProps() assigns. A host-assigned settings object calls rerun().
  • An empty or missing settings.vaultPath stays the empty-vault failure. A set path still runs Model.listArgs.
  • The Quickshell 0.3.0 fold stays: no onFailedToStart, onExited uses collector.text, and a process that stays running: false uses Model.statusFromRun(127, "", "").
  • QA is grading e6217f3.

Test plan

  • Source grade: settings, derived vaultPath, onSettingsChanged: rerun()
  • GitHub tests check green before merge

Lathe Bar.qml injectProps assigns target.settings = moduleSettings only
when the widget declares a settings property; it never assigns
vaultPath. BarWidget now declares property var settings: ({}) and
derives vaultPath from settings.vaultPath (the manifest schema key).
onSettingsChanged calls rerun(), so a host-assigned settings object
starts the run. Empty or missing settings.vaultPath keeps the
empty-vault failed status.

Kept: no onFailedToStart, onExited refresh(code, collector.text),
running-still-false folds Model.statusFromRun(127, "", "").
@VirtualMachinist
VirtualMachinist merged commit 6744da7 into main Sep 24, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant