Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a new IPC message for requesting structured configuration #4427

Draft
wants to merge 2 commits into
base: next
Choose a base branch
from

Conversation

j-jzk
Copy link
Contributor

@j-jzk j-jzk commented May 19, 2021

Adds a new IPC message for requesting the configuration in JSON, as discussed in #4293.

I wanted to generate the JSON somewhat automatically, but didn't find any acceptable way of doing it - if we generated the JSON at the same time we parsed the config file, the result wouldn't be very structured and would have duplicit values if some directives were set and then overridden.

TODO:

  • parts of the configuration:
    • keybindings
    • workspaces
    • bar
  • tests
  • documentation

Adds a non-complete implementation of a new IPC message,
get_config_json, which returns the current configuration as JSON.
@orestisfl
Copy link
Member

Thanks!

Let me take a look first before putting more time into this.

@orestisfl orestisfl self-requested a review May 19, 2021 14:17
@j-jzk
Copy link
Contributor Author

j-jzk commented May 24, 2021

@orestisfl What's up? :)

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.

None yet

2 participants