plasma-manager icon indicating copy to clipboard operation
plasma-manager copied to clipboard

rc2nix doesn't see sections with colons

Open ncfavier opened this issue 3 years ago • 3 comments

My kdeglobals contains

[Colors:View]
BackgroundNormal=#000000

rc2nix skips that section.

ncfavier avatar Sep 28 '22 16:09 ncfavier

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.

pjones avatar Sep 28 '22 16:09 pjones

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.

HeapUnderfl0w avatar Oct 30 '22 22:10 HeapUnderfl0w

@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.

pjones avatar Nov 03 '22 18:11 pjones