Have --restore argument actually restore the saved config#62
Have --restore argument actually restore the saved config#62anufrievroman merged 2 commits intoanufrievroman:mainfrom jjramsey:main
Conversation
|
I'm not really sure why that would fix it (or why there would be a problem in the first place) because the config and all the values are read much earlier when |
|
Well, I just tried the original version of waypaper, and the bug is still there, and I tried my version of the package, and it fixes that problem. One thing I found out from a python REPL section is that it takes two executions of the The "Fit" option is what's in my config.ini file. I don't understand it either, and I didn't realize that problem until today. Really bizarre, and it has me stumped. |
|
I figured it out. The problem was that the config.ini file was written incorrectly by the Waypaper GUI. It took the result from the combo box for the fill option, but left it capitalized. When the When I read the config file the second time in the previous version of my pull request, |
|
Ah, I see, I don't know how nobody ever noticed that before 😅 Thank you! |
I was annoyed when
waypaper --restoreonly restored the image but not the settings used to display the image stored inconfig.ini, so I decided to fix that. That probably fits better with the expectations of what--restoreis supposed to do.