-
Notifications
You must be signed in to change notification settings - Fork 31
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
Waypaper is still trying to write to the configuraiton file, even if use_xdg_state = True
#98
Comments
I see. Yes, it tries to overwrite the config even if you use state file. To be honest, I never used the immutable systems like that, so I'm not sure what's the expected behavior is. Currently, state file only stores information about monitors and wallpaper (according to previous discussions). But all the other settings are still stored in the config (and overwritten when changed). So, for you, the expected behavior would be that everything is stored in the state file, or just that it does not crash if permission denied? Or all the things that can be changed via GUI should be stored in the state file (which is almost all things)? |
I think that using state files in general might be the better option. Especially if you are using them in the first place. otherwise we should use the config file. |
I manage my dotfiles with git. Every time I run The config file should not change if I haven't launched the GUI and changed settings. State and config should not share a file, IMO. I would like to see either a separate state file, or a config option like |
Why are you managing your dot files in your dot files? You should keep them separate and use a script to port the changes over. Rule one of development, never run prod off your development server. :P Like seriously though. copy your dot files somewhere else and then copy them over once you are done modifying them to test. This will avoid this issue entirely. example script: |
Hmm, I thought that if we use a state file, then config.ini is not rewritten upon |
Thanks for the unsolicited advice. |
I have the following configuration
So I would expect that the config.ini file doesn't need to be touched by the app. I am using home-manager on Ubuntu and this file is set as immutable/readonly. When I try to change wallpaper, though, this is what happens:
The text was updated successfully, but these errors were encountered: