prasanthrangan / hyprdots

// Aesthetic, dynamic and minimal dots for Arch hyprland

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug]: SWWW - Black BG - no wallpaper

FroggieStick opened this issue · comments

Bug Report

Description

SWWW - Black background no wallpaper


`~/.config/hyde/themes/Gruvbox Retro ❯ Hyde wallpaper select

09:42:09 PM:: applying wall :: "/home/username/.config/hyde/themes/Gruvbox Retro/wallpapers/raven1.jpg"

~/.config/hyde/themes/Gruvbox Retro ❯ [skip] "/home/username/.config/cava/Wall-Dcol" 
09:42:21 PM[skip] "/home/username/.config/spicetify/Themes/Sleek/color.ini"`

I have tried to rebuild/Reload Hyde. deleted swww cache folder and files.
sometimes i can use the super + alt + arrow keys to switch wallpapers and it will eventually show up randomly.

Only one picture is set to this theme. No other images in this setup.

clearly a swww issue but not sure how to resolve it.

When i try to select the wallpaper from CLI it runs extra things like /spicetify/ which isnt even a directory on my machine and the cli gets hung.

what happens when you run swww restore

Nothing happens with swww restore

I found if I

swww kill
swww init

it comes back. But when I reboot it goes back to black screen. Have to kill and init everytime but it comes back after.

init is deprecated.

can you run this swwwallpaper.sh on 2 different terminals, what happen? run same command but 2 instances.

facing similar issue with swww, no wallpaper sometime just a black screen, changing wallpaper works once or twice then get stuck, changing theme changes colors and other properties but wallpaper gets stuck and doesnt change

commented

Error: "couldn't bind socket: Address already in use (os error 98)"

@kRHYME7
I ran swwwallpaper.sh in two separate terminals and had no results. It says it applied the wallpaper but nothing happens.

If i call swww-daemon directly since init is deprecated it works. Until i reboot again. Still have to kill swww then call it directly.

Also when you sww kill you can see the background go from a pitch black to a duller grey. Its like SWWW is working but the wallpaper just isnt rendering. Once you basically restart swww it shows up fine. But after rebooting goes back to same broken state.

Ive cleared the .cache/swww directory multiple times to no effect and ran the swww clear-cache also.

Let's try to narrow down those issues
using this version of swww?
image

You can modify ~/.local/share/bin/swwwallpaper.sh and add this line after lline 100
swww query && swww restore
image

Try to reboot what happen?

take note I'm using hyprland-git

image

After making the edit it seems to have worked. Ive rebooted a couple times now and it always comes back up. Thank you!

can you explain why though? or is this just a bandaid solution.

Cool! Just swww's breaking change about a week ago. I did of not make a PR as I cannot merge my own. I'm actually waiting for someone to do it . Can you do a PR with that changes please? Will merge it immediately

Also for everyone here, I think the stable swww is pretty stable now. I advised to revert your swww-git installation. yay -Sy swww

@kRHYME7
Sorry, never done a pull request before lol. I guess i did it right. Let me know if not.

Will close this for now

commented

Added the lines and im still getting the issue

rebooted?

commented

Added the lines and im still getting the issue

rebooted?

yeah ...still getting that issue ...could it be my swww version ?

Hey try this

killall swww-daemon

then open 2 separate terminals

run swww-daemon
on the other term run swww restore

Please describe the behavior.

Also can you please share the output of this ?

grep "swww restore" ~/.local/share/bin/swwwallpaper.sh

commented

Hey try this

killall swww-daemon

then open 2 separate terminals

run swww-daemon on the other term run swww restore

Please describe the behavior.

Also can you please share the output of this ?

grep "swww restore" ~/.local/share/bin/swwwallpaper.sh

Fix was updating swww