35 lines
1.1 KiB
JSON
35 lines
1.1 KiB
JSON
{
|
|
"$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 setWallpaper '{{ path }}'; change-colortheme -c '{{ colorHex }}'",
|
|
"onPreview": "qs ipc call background previewWallpaper '{{ path }}'; touch '{{ path }}'; change-colortheme -c '{{ colorHex }}' quickshell niri",
|
|
"quitOnSelected": true,
|
|
"saveState": [
|
|
{
|
|
"key": "flavor",
|
|
"fallback": "#89b4fa",
|
|
"command": "qs ipc call colors getColor mPrimary"
|
|
}
|
|
],
|
|
"onRestore": "qs ipc call background previewWallpaper ''; change-colortheme -c '{{ flavor }}' quickshell niri"
|
|
},
|
|
"cache": {
|
|
"maxImageEntries": 300
|
|
}
|
|
}
|