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 fails to generate colours for wallpapers with spaces in filename. #22

Closed Ahorts closed 4 months ago

Ahorts commented 4 months ago

Describe the bug I have fixed this but thought I might just bring it to your attention. Maybe I missed it but I had a bunch of wallpapers that had spaces in the filenames and was wondering for the longest time why pywal couldn't generate the colour scheme for some of them.

For anyone wondering just write a bash command to remove all the spaces in the filenames. Now pywal can actually generate the colour scheme for the wallpapers.

for f in *\ *; do mv "$f" "${f// /_}"; done

This replaces all the spaces in the filename of the wallpapers with an underscore.

I think you can try to add this to the wiki. I remember someone asked a similar question somewhere.

Distribution (please complete the following information):

mylinuxforwork commented 4 months ago

Thank you so much for testing and sharing your idea to solve it. I will check it out.

mylinuxforwork commented 4 months ago

Thanks again for your help. I have added this comment to the wiki: https://github.com/mylinuxforwork/dotfiles/wiki/Wallpapers