Skip to content

packaging: ship the config schema under /usr/share/lmtt - #9

Merged
MasonRhodesDev merged 1 commit into
mainfrom
schema-install
Oct 13, 2026
Merged

MasonRhodesDev merged 1 commit into
mainfrom
schema-install

Conversation

@MasonRhodesDev

Copy link
Copy Markdown
Owner

dials' Appearance page (MasonRhodesDev/dials, appearance-page branch) renders lmtt's config schema. lmtt-config only writes it to ~/.config/lmtt/config-schema.json on each run, so a fresh install had nothing to read. Install the bundled lmtt-config-tui/assets/config-schema.json as /usr/share/lmtt/config-schema.json in the PKGBUILD and the spec (the spec's %{_datadir}/lmtt/ directory entry already covers it). The user copy still takes precedence.

lmtt-config refreshes ~/.config/lmtt/config-schema.json on every run, so
a settings UI that renders the same schema (dials' Appearance page) had
nothing to read on a box that never ran the TUI. Install the bundled
asset as /usr/share/lmtt/config-schema.json on both distros; the user
copy still wins when present.
@MasonRhodesDev
MasonRhodesDev merged commit 66cff8e into main Oct 13, 2026
6 checks passed
@MasonRhodesDev
MasonRhodesDev deleted the schema-install branch October 13, 2026 19:40
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