You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Route aether:// silent=true through the CLI apply path
silent=true now applies directly inside the URL-handler process via
writer.ApplyTheme, matching aether --import-colors-toml semantics. No
GUI launch, no IPC, no staged pending file. Wallpaper-only silent links
preserve the current palette by reading the applied colors.toml on disk.
Copy file name to clipboardExpand all lines: docs/web-handler.md
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -77,7 +77,11 @@ If Aether is closed when the link is clicked, the launch is automatic and the di
77
77
78
78
### `silent=true` — apply without confirming
79
79
80
-
`silent=true` makes the click apply immediately, no dialog. Useful for in-app links where the user has already chosen the theme on the web side and doesn't need a second confirmation. The trade-off is real, though: any web page can produce a silent-apply link. Only mark links silent inside flows where the user has already opted in to the theme they're about to install (your own theme gallery, an in-app catalog), and prefer the default interactive flow for third-party content.
80
+
`silent=true` makes the click apply immediately, no dialog. The URL handler runs the apply *itself*, in the same process — same code path as `aether --import-colors-toml URL`. No GUI is launched and no IPC happens; this works identically whether or not the Aether GUI is running. The downloaded files still land in `~/.cache/aether/web-imports/`, but the staging file and confirmation step are skipped.
81
+
82
+
Wallpaper-only silent links preserve the current palette by reading the existing `colors.toml` on disk. Light/dark mode is controlled by `mode=light|dark`; omit it to default to dark, matching the existing CLI behavior.
83
+
84
+
The trade-off is real, though: any web page can produce a silent-apply link. Only mark links silent inside flows where the user has already opted in to the theme they're about to install (your own theme gallery, an in-app catalog), and prefer the default interactive flow for third-party content.
0 commit comments