Skip to content

feat: add patch_file for format-preserving ini edits - #93

Open
Muqtxdir wants to merge 2 commits into
WayfireWM:masterfrom
Muqtxdir:feat/scope-editing
Open

feat: add patch_file for format-preserving ini edits#93
Muqtxdir wants to merge 2 commits into
WayfireWM:masterfrom
Muqtxdir:feat/scope-editing

Conversation

@Muqtxdir

Copy link
Copy Markdown

description

  • adds wf::config::edit::patch_file to modify only specific keys in wayfire.ini without regenerating it i.e. comments, blank lines, key order, and whitespace around '=' presist.

  • optionally validates each patch through manager

  • added tests accordingly

related: #53.

@Muqtxdir
Muqtxdir force-pushed the feat/scope-editing branch from 5dd6a0f to 2376a9a Compare August 14, 2026 19:33
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