-
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
Updating wallpaper tries to use swaybg? #23
Comments
Hi, let's see. If you mean that you see errors in the terminal like:
That is normal. That does not mean anything is wrong, it's just that every time it tries to kill swaybg in case it's running because otherwise it causes problems when switching backends (I just removed this behavior in 7d912f4). However, despite these errors, the wallpaper should be set alright. Is it so, or what exactly do you mean that it's failing? |
Output upon clicking a wallpaper in the UI is
The wallpaper does not update until I manually run |
Interesting. And how about your Anyway, I just pushed a possible fix, could you please delete your current version and try installing from current main as:
|
Actually, the config.ini had the wrong backend in it. Manually changed it to swww worked. (without the latest commit) |
Alright then. I think the chosen backend is supposed to be saved into the config when you use it via GUI at least once, maybe somehow it just couldn't remember which one you want to use, whereas |
I haven't really taken a look at the codebase, so I can't confirm this, but could it be that the backend is only saved to the config when manually changing it in the dropdown? Since swww is my only backend and therefore only option, I never changed it in the dropdown, so maybe that's why it wasn't written? |
Actually, it makes sense. I didn't think it works like that, but it is likely so that in GUI the dropdown option is |
This improved how the installed backnends are checked and makes sure that only installed backends are reconded into config. This addresses the issue #23 and generally improved the code.
Okay, I believe I fixed that bug in the current version, so I'll close this issue. |
I do not have swaybg installed on my system, only swww, which is also the only & selected option in the Waypaper UI.
When trying to run
waypaper --restore
, it tries to use swaybg, I manually need to specify swww for it to work.More problematic, the UI itself also tries to use swaybg (even though, as mentioned, swww is selected in the UI) failing. This causes me to manually need to run the refresh command (with backend specified) for wallpapers to update.
The text was updated successfully, but these errors were encountered: