anufrievroman / waypaper

GUI wallpaper manager for Wayland and Xorg Linux systems
https://anufrievroman.gitbook.io/waypaper
GNU General Public License v3.0
277 stars 11 forks source link

swww deprecation warning #39

Closed Stewart86 closed 1 month ago

Stewart86 commented 2 months ago

when using swww init a warning of deprecation is shown.

DEPRECATION WARNING: `swww init` IS DEPRECATED. Call `swww-daemon` directly instead

suggest call to subprocess to swww-daemon

ps: wanted to create a PR for this simple change, but was struggling to setup the project to run in my local environment with NixOS. 😭 If someone could crate a flake.nix for this project that would be great!

anufrievroman commented 2 months ago

Oh no :) From which version is it deprecated? Is it still working despite the warning? It's easy to update the command, but I want to avoid the situation when someone installs the waypaper on a machine with old swww and it does not work at all.

Stewart86 commented 2 months ago

just after 0.9.1 refer to release notes here

edit: correction its version 0.9.0 that deprecation notice is given in release note edit again: yes, I still runs despite the warning. so we still have some time.

CalfMoon commented 2 months ago

Although swww init was deprecated in version 0.9.0, swww-daemon has existed since version 0.7.0. According to the home page of swww, the only distro which uses package before that is openSUSE Leap 15.6 which uses version 0.4.3.

ps: The point of this comment is nothing, I was trying to send a pr too but I noticed OP's issue so instead of doing nothing I created a full info update. To update or not is in your hand.

anufrievroman commented 2 months ago

Thank you for clarifying! To be honest, I didn't have time to look into this yet, so if you have a working PR, please submit, I think we need to update, especially since deamon is there for everybody.

RunnersNum40 commented 2 months ago

Just hopping in to say that swww's not launching for me after updating. I believe on my system the warning prevents it from launching. Glad to see the solution's already up.

anufrievroman commented 1 month ago

Hi, sorry for the delay, I think this issue is resolved in the recently published version. Thank you again for reporting and propsing a PR.