mylinuxforwork / dotfiles

The ML4W Dotfiles for Hyprland - An advanced and full-featured configuration for the dynamic tiling window manager Hyprland including an easy to use installation script for Arch based Linux distributions.
GNU General Public License v3.0
1.11k stars 85 forks source link

[BUG] PyWal not working #122

Closed DanieleBertagnoli closed 3 months ago

DanieleBertagnoli commented 3 months ago

Describe the bug I was trying to use a different wallpaper rather than those shipped with the dot files. However, when I select the wallpaper using the tool the wallpaper is changed into a black image. I tried to use the command wal -i ~/wallapaper/photo.jpeg, the theme colors are generated and applied but the wallpaper remains black. I also get a warning when using the command:

image

Expected behavior The wallpaper should be changed.

Distribution (please complete the following information):

mylinuxforwork commented 3 months ago

@DanieleBertagnoli Thanks for testing.

I cannot replicate the issue on my system. I can select from different folders a new wallpaper and pywal is coloring the terminal and borders correctly. The wallpaper will be set without any problem.

Can you describe every step. And can you share the filename of the image that you want to set as wallpaper?

DanieleBertagnoli commented 3 months ago

Hi, the file name is the one indicated in the screenshot sport.jpg (without spaces as indicated in the wiki). I've simply downloaded the image, put it in the wallpaper directory and either using the wal -i command or the wallpaper widget CTRL + SUPER + W, the result is always the same, black wallpaper while the color theme are updated according to the image. (The image was downloaded from the following link)

EDIT: I just manually fixed the problem by manually preloading the wallpaper using the following command:

hyprctl hyprpaper preload "~/wallpaper/sport.jpg"

and the I set the wallpaper:

hyprctl hyprpaper wallpaper ",~/wallpaper/sport.jpg"

The widget still doesn't work. By looking in the hyprpaper.conf i just find out that in the preload and wallpaper sections there is written clearcache instead of the wallpaper image path. Is this normal?

mylinuxforwork commented 3 months ago

Hi. No. clearcache isn't normal and I don't know where this comes from.

Which waypaper version have you installed?

waypaper --version

smoleyxd commented 3 months ago

Hello I am having this same issue. waypaper v.2.2

Upon running the installation script I found pywal saying "No image found"

mylinuxforwork commented 3 months ago

Hello I am having this same issue. waypaper v.2.2

Upon running the installation script I found pywal saying "No image found"

Have you changed a setting in waypaper? Can you describe the steps how you set a walllpaper?

DanieleBertagnoli commented 3 months ago

Well, I solved by manually setting the values in hyprpaper.conf. Once insert the path of the image instead of clearcache, I rebooted the system and all just started to work again.

mylinuxforwork commented 3 months ago

And are you able to change the wallpaper with waypaper app?

DanieleBertagnoli commented 3 months ago

Yes, now everything works