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

Changing wallpaper changes config #147

Open
dablenparty opened this issue Mar 4, 2025 · 1 comment
Open

Changing wallpaper changes config #147

dablenparty opened this issue Mar 4, 2025 · 1 comment

Comments

@dablenparty
Copy link

This isn't exactly an "issue" but I can't see a discussion tab on this repo so I'm opening this issue.

Currently, when setting a wallpaper, waypaper saves the wallpaper state by setting the wallpaper key in ~/.config/waypaper/config.ini. I think it would be better to store this state in a separate file primarily because the wallpaper key is saved application state and thus, in my opinion, doesn't belong in the static config file. This would improve the separation of concerns because you would have a state file that gets updated whenever the wallpaper state updates and the config file wouldn't change at all.

@anufrievroman
Copy link
Owner

Hi, actually it's already implemented, you can switch to this behavior by setting use_xdg_state = True in the config. Then state parameters will be saved in the state file.

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

2 participants