Skip to content

If folder or wallpaper path includes comma, waypaper won't read full path #168

@nsmith0011

Description

@nsmith0011

I have a path:

~/Desktop/Images/Screensaver images (duplicates, okay to delete)/Aurora-by-Johny-Goerend.jpg

Config.ini contains these two lines:

folder = ~/Desktop/Images/Screensaver images (duplicates, okay to delete)
wallpaper = ~/Desktop/Images/Screensaver images (duplicates, okay to delete)/Aurora-by-Johny-Goerend.jpg

When I run waypaper --restore I get an error:

2025-06-25 12:15:20 - [swaybg-1.2.1/background-image.c:30] Failed to load background image (Failed to open file “/home/nsmith/Desktop/Images/Screensaver images (duplicates”: No such file or directory).
2025-06-25 12:15:20 - [swaybg-1.2.1/main.c:610] Failed to load image: /home/nsmith/Desktop/Images/Screensaver images (duplicates

It appears the path is being concatenated at the "," character. When I remove the comma from the directory name and update folder and wallpaper it works.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions