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

Replace kwriteconfig5 with a custom tool #1

Closed
pjones opened this issue Jun 23, 2022 · 3 comments
Closed

Replace kwriteconfig5 with a custom tool #1

pjones opened this issue Jun 23, 2022 · 3 comments

Comments

@pjones
Copy link
Collaborator

pjones commented Jun 23, 2022

The kwriteconfig5 tool is how we currently update settings in KDE configuration files. However:

  1. It can only update one setting at a time. Trying to update a bunch of settings is slow.

  2. Some settings (e.g., khotkeysrc) use section numbers and therefore we need some way to remove old sections.

We probably need a custom tool written in C++ that can merge entire files as once. Probably from a JSON source which Nix can generate.

@pjones
Copy link
Collaborator Author

pjones commented Nov 3, 2022

If anyone is interested in helping, I have a branch of kconfig that allows us to edit KDE config files with a single command, instead of having to use kwriteconfig.

There's a branch of this repo that brings in my custom kconfig in the flake.nix. However, I haven't made any of the necessary changes to actually switch to kconfig.

@nazarewk
Copy link
Contributor

Looking through the docs we could simply manage own directory (adding/prepending it to $KDEDIRS) with configuration files render through Nix without any external tool?

@toast003 toast003 mentioned this issue Dec 19, 2023
@toast003
Copy link
Collaborator

We have had our own tool for this since #39

magnouvean added a commit to HeitorAugustoLN/plasma-manager that referenced this issue Jul 8, 2024
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

No branches or pull requests

3 participants