pywal
pywal copied to clipboard
.cache\wal\colos.json generated with broken json on Windows
On windows pywal gen incorrect unparsable json for colors.json example:
{
"wallpaper": "C:\Users\np\AppData\Local\Temp\2.jpg",
"alpha": "100",
}
what should to be:
{
"wallpaper": "C:\\Users\\np\\AppData\\Local\\Temp\\2.jpg",
"alpha": "100",
}
possible fix https://github.com/dylanaraps/pywal/pull/564
but I`m not fluent in python, imm json should be serialized correctly before it exported to file (in Node.js its JSON.stringify)
Seems to be fixed