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

On restart, last used picture is used instead of unicolor of clear #379

Open
allergicapple opened this issue Nov 18, 2024 · 1 comment
Open

Comments

@allergicapple
Copy link

allergicapple commented Nov 18, 2024

Scenario:

  • Set a wallpaper to an image with swww img cat.jpg
  • Clear the wallpaper with swww clear 446688
  • Restart service / reboot computer / ...
  • Start swww-daemon

Excpected:

  • Wallpaper is single color sky blue again.

Actual:

  • Wallpaper is cat.

I think I misunderstand the clear command to mean something like "uniform single-color wallpaper" when it is not because I would expect swww to restore this on restart and not the last picture set with img.

What's amazing is the wallpaper is restored to the last image, even when the file has been deleted in the meantime so it seems to come from the cache?

Using latest git:

$ swww --version
swww 0.9.5-masterV3

Installed from AUR:

$ pacman -Qi swww
Installed From  : None
Name            : swww-git
Version         : 0.9.5.r172.g0db3f4e-1
Description     : Efficient animated wallpaper daemon for Wayland, controlled at runtime
Architecture    : x86_64
URL             : https://github.com/LGFae/swww
[...]
@kerty0
Copy link
Contributor

kerty0 commented Dec 1, 2024

Yes, swww-daemon restores wallpaper based on cache and swww img modifies it but swww clear doesn't. You can set persistent color wallpaper with swww img 0x446688.

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