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

rc2nix doesn't see sections with colons #9

Open
ncfavier opened this issue Sep 28, 2022 · 3 comments
Open

rc2nix doesn't see sections with colons #9

ncfavier opened this issue Sep 28, 2022 · 3 comments

Comments

@ncfavier
Copy link
Contributor

My kdeglobals contains

[Colors:View]
BackgroundNormal=#000000

rc2nix skips that section.

@pjones
Copy link
Owner

pjones commented Sep 28, 2022

The reason I made rc2nix skip colors and theme-related sections was because I use different themes on my different computers. I also wanted to provide a different way to deal with theme settings (but I haven't gotten around to that yet).

That said, this should probably be controlled with a flag to rc2nix.

I'm happy to accept patches to that effect.

@HeapUnderfl0w
Copy link

This is a bit of bikeshedding, but imho rc2nix should not ignore any section (tho it can for now until the highlevel things are done).
Primary reasoning for me is here that i expect rc2nix to create a complete snapshot of the current configuration, that can then be stuffed into the low level config to replicate the state (almost) exactly.

@pjones
Copy link
Owner

pjones commented Nov 3, 2022

@HeapUnderfl0w I agree with you.

The biggest challenge right now is that KDE stores a lot of state information in configuration files, which I believe they are addressing in a future release.

As an example, if you poke around, you'll see window locations, monitor IDs, and all sorts of stuff that won't work on another computer with a different resolution. You'd end up with windows appearing off screen and whatnot.

The rc2nix script is really stupid right now and I don't currently have any free time to work on it. If anyone wants to help out that would be great.

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