end4-pC icon indicating copy to clipboard operation
end4-pC copied to clipboard

Configuration reset issue caused by shared config directory in Directories.qml

Open izwa86 opened this issue 5 months ago • 0 comments

Hello,

I noticed that user settings can be reset because the configuration path is still pointing to a shared directory.

In my setup, config.json is being stored under:

property string shellConfig: FileUtils.trimFileProtocol(${Directories.config}/end4-pC)

located in:

.config/quickshell/end4-pC/modules/common/Directories.qml

Because the configuration is stored in a common/shared location, different shell instances or configurations may end up using the same config directory. As a result, some settings (for example bar customization settings) can be overwritten or reset unexpectedly.

I tested changing this path locally so that the configuration is stored in a separate directory specific to the current shell configuration. After doing so, my bar settings no longer reset and the behavior became much more reliable.

It might be worth reviewing whether the default value of shellConfig should point to a more isolated configuration directory to avoid conflicts between multiple shell setups.

Has anyone else experienced configuration resets related to this path?

Thanks.

izwa86 avatar Jun 07 '26 16:06 izwa86