qs: streamline IPC function names

This commit is contained in:
2026-03-08 14:43:09 +01:00
parent 0d13a02e29
commit 12529a4c3c
7 changed files with 37 additions and 35 deletions
@@ -16,17 +16,17 @@
]
},
"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",
"onSelected": "qs ipc call background set '{{ path }}'; touch '{{ 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 getColor mPrimary"
"command": "qs ipc call colors get mPrimary"
}
],
"onRestore": "qs ipc call background previewWallpaper ''; change-colortheme -c '{{ flavor }}' quickshell niri"
"onRestore": "qs ipc call background preview ''; change-colortheme -c '{{ flavor }}' quickshell niri"
},
"cache": {
"maxImageEntries": 300