Files
RuneStone/src-tauri/capabilities/default.json
T
Knotty Wyvern ab868bbe8e Make Background a native feature
- Background replaces the Background Slideshow plugin and the background image of Appearance. It shows a folder as a slideshow, or one image.
- It is on by default. Its module loads at launch only when a folder or an image is chosen.
- Rust keeps the one folder in background-folder.json. The interface never sends a path. Eight background_* commands replace the six deprecated backgrounds_* commands.
- The first start moves the slideshow folder and settings, and keeps the saved image as the image source.
- One blur worker with a cache, fewer folder reads, and a decode before each fade. The hub writes only the changed properties.
- Remove the deprecated folder methods of api.backgrounds. set, get, and subscribe stay for the Project Management plugin.
- Show the view buttons in the workbench test without text, after UI-056.
- Update the tests, the measurement tool, the docs, and UI-057.
2026-10-29 17:25:17 -07:00

118 lines
3.3 KiB
JSON

{
"$schema": "../gen/schemas/desktop-schema.json",
"identifier": "default",
"description": "Capability for the main window",
"windows": [
"main",
"workspace-*",
"terminal-*"
],
"permissions": [
"allow-spelling-menu-install",
"allow-spelling-suggestions",
"allow-theme-export",
"allow-spelling-menu-select",
"allow-spelling-menu-uninstall",
"allow-settings-open-window",
"allow-window-snap-layouts",
"allow-settings-read",
"allow-settings-write",
"allow-settings-migrate",
"allow-features-legacy",
"allow-tab-transfer-offer",
"allow-tab-transfer-take",
"allow-tab-transfer-finish",
"allow-tab-transfer-cancel",
"allow-completion-request",
"allow-completion-cancel",
"allow-browser-request",
"allow-browser-connect",
"allow-browser-stop",
"allow-browser-engine-status",
"allow-browser-engine-install",
"allow-browser-engine-install-file",
"allow-browser-engine-cancel",
"allow-browser-engine-remove",
"allow-git-status",
"allow-git-diff",
"allow-git-stage",
"allow-git-unstage",
"allow-git-commit",
"allow-git-blame",
"allow-git-push",
"allow-git-pull",
"allow-git-graph",
"allow-git-commit-diff",
"allow-git-commit-details",
"core:default",
"core:window:allow-destroy",
"core:window:allow-close",
"core:window:allow-minimize",
"core:window:allow-toggle-maximize",
"core:window:allow-start-dragging",
"opener:default",
"dialog:default",
"allow-workspace-open",
"allow-workspace-open-window",
"allow-workspace-last-path",
"allow-workspace-recent",
"allow-workspace-forget",
"allow-workspace-new",
"allow-workspace-list",
"allow-workspace-list-markdown",
"allow-workspace-read",
"allow-workspace-read-many",
"allow-workspace-read-bytes",
"allow-workspace-write",
"allow-workspace-create",
"allow-workspace-rename",
"allow-workspace-delete",
"allow-workspace-read-data-url",
"allow-workspace-write-bytes",
"allow-workspace-copy",
"allow-workspace-abs-path",
"allow-workspace-reveal",
"allow-workspace-open-terminal",
"allow-workspace-open-default",
"allow-workspace-search",
"allow-plugins-snapshot",
"allow-plugins-choose",
"allow-plugins-from-git",
"allow-plugins-cancel",
"allow-plugins-install",
"allow-plugins-set-enabled",
"allow-plugins-load",
"allow-plugins-release",
"allow-plugins-prepare-remove",
"allow-plugins-remove",
"allow-plugins-retry-remove",
"allow-plugins-reveal",
"allow-plugins-data",
"allow-plugins-asset",
"allow-pty-open",
"allow-pty-write",
"allow-pty-resize",
"allow-pty-close",
"allow-pty-profiles",
"allow-pty-new-window",
"allow-pty-dictation",
"opener:allow-reveal-item-in-dir",
"allow-background-choose-folder",
"allow-background-folder",
"allow-background-clear-folder",
"allow-background-list",
"allow-background-read",
"allow-background-read-sidecar",
"allow-background-write-sidecar",
"allow-background-migrate",
"allow-folders-choose",
"allow-folders-picture",
"allow-folders-grants",
"allow-folders-revoke",
"allow-folders-list",
"allow-folders-read",
"allow-folders-read-sidecar",
"allow-folders-write-sidecar"
]
}