Skip to content

support for Windows #31

@ssghait007

Description

@ssghait007

I know windows is not supported but when I tried to run this on windows, I didnt get a message,
Windows is not yet implemented to change the background

Instead I got error in colors = pywal.colors.get(img) command.

subprocess.CalledProcessError: Command '['convert', 'C:\\Users\\WinterSoldier\\.config\\python-backgroundchanger\\photos\\dtt-COU6cxo.png[0]', '-resize', '25%', '-colors', '16', '-unique-colors', 'txt:-']' returned non-zero exit status 4.

So my suggestion is to put a OS check at very beginning of process. Then and there display message if OS is not supported.

Modified the code and got it working for windows 10 without pywal code.
I can add windows support, But need to understand what pywal is used for.

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