Ax-Shell icon indicating copy to clipboard operation
Ax-Shell copied to clipboard

swww daemon layer takes only 1280 800 instead of full screen when changing wallpaper dynamically

Open DavePlayer opened this issue 1 year ago • 3 comments

On fresh install whenever i change dynamically wallpaper instead of it taking entire screen it is placed on the center of the screen. When exiting hyprland and loging back in it is normal size:

Image

hyprctl layers: Monitor eDP-1: Layer level 0 (background): Layer 651d817c6230: xywh: 384 240 1280 800, namespace: swww-daemon, pid: 124334 Layer level 1 (bottom): Layer level 2 (top): Layer 651d812140f0: xywh: 0 0 2048 1280, namespace: fabric, pid: 103503 Layer 651d81331f20: xywh: -4 -4 2056 55, namespace: fabric, pid: 103503 Layer 651d81214220: xywh: 870 3 308 53, namespace: fabric, pid: 103503 Layer 651d8137e4b0: xywh: 958 1219 132 61, namespace: fabric, pid: 103503 Layer 651d8137dcd0: xywh: 1666 43 382 1, namespace: fabric, pid: 103503 Layer level 3 (overlay):

DavePlayer avatar Jun 06 '25 06:06 DavePlayer

The only thing Ax-Shell does with swww is swww img /path/to/image so this isn't directly related to it. Could you try that command manually to see if this happens?

Axenide avatar Jun 07 '25 07:06 Axenide

@Axenide When I set the wallpaper manually using swww, everything works as expected — the wallpaper changes and fills the entire screen

swww img /path/to/image

However, when I change the wallpaper using the wallpapers module in the top widget, the wallpaper is centered and does not take up the full screen.

Additionally, after changing the wallpaper with the widget, running the swww again does not restore the fullscreen behavior. The wallpaper remains centered. After that i have to logout from hyprland and log back for wallpaper to take full screen

DavePlayer avatar Jun 09 '25 07:06 DavePlayer

It has been confirmed that this is a swww issue. I updated the dependency to swww-git where this doesn't happen.

yay -S swww-git

Axenide avatar Jun 09 '25 08:06 Axenide