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

Allow reading of config with nested JSON #788

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

dsluijk
Copy link

@dsluijk dsluijk commented Feb 20, 2025

This is an updated version of #497, and contains equivalent changes. It removes the conflict, so it's possible to merge now.

This PR allows HyprPanel to read conventional JSON objects from the configuration file, while keeping the dot-notation as used currently. This means it should not break existing workflows. The behaviour with writing to the configuration file is not changed.

Should also fix #433, as I was running into the same issue.

@Jas-SinghFSU
Copy link
Owner

Could you merge my branch json-config into your PR branch please? I fixed some linting issues and move the findKey function out.

@dsluijk
Copy link
Author

dsluijk commented Feb 25, 2025

I have updated my branch with your patch, so the CI should (hopefully) pass now. I have also removed some comments which no longer made sense.

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.

Move Config to Toml / or allow toml configuration
2 participants