{
    "$schema": "https://raw.githubusercontent.com/Uyanide/WallReel/refs/heads/master/config.schema.json",
    "wallpaper": {
        "dirs": [
            {
                "path": "~/Pictures/backgrounds"
            },
            {
                "path": "/media/Beta/壁纸/库"
            }
        ],
        "excludes": [
            "nao-stars-crop-adjust-flop.jpg",
            "miku-gate.jpg",
            "\\.md$"
        ]
    },
    "action": {
        "onSelected": "qs ipc call background set '{{ path }}'; change-colortheme -c '{{ colorHex }}'",
        "onPreview": "qs ipc call background preview '{{ path }}'; change-colortheme -c '{{ colorHex }}' quickshell niri",
        "quitOnSelected": true,
        "saveState": [
            {
                "key": "flavor",
                "fallback": "#89b4fa",
                "command": "qs ipc call colors get mPrimary"
            }
        ],
        "onRestore": "qs ipc call background preview ''; change-colortheme -c '{{ flavor }}' quickshell niri"
    },
    "cache": {
        "maxImageEntries": 300
    }
}
