update
This commit is contained in:
@@ -1,22 +0,0 @@
|
||||
{
|
||||
"wallpaper": {
|
||||
"dirs": [
|
||||
"~/Pictures/backgrounds",
|
||||
"/media/Beta/壁纸/库/"
|
||||
],
|
||||
"excludes": [
|
||||
"~/Pictures/backgrounds/nao-stars-crop-adjust-flop.jpg",
|
||||
"~/Pictures/backgrounds/miku-gate.jpg"
|
||||
]
|
||||
},
|
||||
"action": {
|
||||
"confirm": "change-wallpaper \"%1\" 2560 1600"
|
||||
},
|
||||
"style": {
|
||||
"no_loading_screen": false
|
||||
},
|
||||
"sort": {
|
||||
"type": "date",
|
||||
"reverse": true
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
{
|
||||
"$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": "change-wallpaper '{{ path }}' 2560 1440 --skip-colortheme; change-colortheme -c '{{ colorHex }}'",
|
||||
"onPreview": "change-colortheme -c '{{ colorHex }}' niri quickshell; swww img -n background \"{{ path }}\" --transition-type fade --transition-duration 0.5",
|
||||
"quitOnSelected": true,
|
||||
"saveState": [
|
||||
{
|
||||
"key": "flavor",
|
||||
"fallback": "#89b4fa",
|
||||
"command": "cat ~/.config/posh_theme.omp.json | jq -r .blocks[0].segments[0].foreground"
|
||||
},
|
||||
{
|
||||
"key": "wallpaper",
|
||||
"fallback": "$HOME/Pictures/backgrounds/miku-space.jpg",
|
||||
"command": "find ~/.local/share/wallpaper/current -type f | head -n 1"
|
||||
}
|
||||
],
|
||||
"onRestore": "change-colortheme -c '{{ flavor }}' niri quickshell; swww img -n background \"{{ wallpaper }}\" --transition-type fade --transition-duration 0.5"
|
||||
},
|
||||
"cache": {
|
||||
"maxImageEntries": 300
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user