wpgtk icon indicating copy to clipboard operation
wpgtk copied to clipboard

Generate theme from JSON file

Open distek opened this issue 2 years ago • 1 comments

Hello!

I might be missing it but how would I go about just providing a JSON input like so:

{
    "color": [
        "2F183A",
        "B44646",
        "7E5BAE",
        "D6A8F0",
        "A6A0E9",
        "C462F9",
        "9B78E3",
        "EFCDF3",
        "46304F",
        "BD5656",
        "8B6CB7",
        "DAB1F1",
        "AEA8EB",
        "CA70FA",
        "A584E6",
        "F0D2F4"
    ],
    "foreground": "c1a2eb",
    "background": "17041f"
}

And having wpgtk generate a theme based on that? I dont necessarily want to use wal or a wallpaper image, since I already have a color scheme I like.

distek avatar Apr 03 '23 04:04 distek

I always had issues with that. I think the implementation is a bit confusing. WPG always wants to create themes. There should be an option to just set image and different theme json without necessarily creating a theme. wpg -i /path/to/img.jpg -j /path/to/json.json or just -j to set a json file from any place. color schemes shouldn't be bound to an image IMO.

fov95 avatar Apr 03 '23 20:04 fov95