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
Add edit=true to aether:// to open imports in the editor
A theme link can now carry edit=true to load its colors and wallpaper into
the Aether editor instead of applying or installing them. Nothing is written
to disk until the user clicks Apply, so it's the safe way to ship a palette as
a starting point rather than a finished theme. edit overrides silent and
as_omarchy_theme.
Backend: extract the shared stage-into-state logic from ConfirmExternalImport
so the new OpenExternalImportInEditor reuses it (stage + emit, no apply). The
URL handler routes edit/omarchy/silent/default through a single precedence
switch. The confirm dialog is parameterized on the edit flag (heading, body,
button, action).
|`wallpaper`| URL to an image | Sets the wallpaper (no re-extraction, even when used alone) |
18
18
|`mode`|`light` or `dark`| Forces Aether into light or dark mode before applying. Omit to fall back to the colors.toml's own `mode = "..."` field, then to the current setting. |
19
19
|`silent`|`true`| Skips the confirm dialog and applies immediately. Use with care: any web page can construct this URL. |
20
+
|`edit`|`true`| Opens the colors and wallpaper in the Aether editor without applying. Nothing is written to disk until the user clicks Apply. Overrides `silent` and `as_omarchy_theme`. |
20
21
|`as_omarchy_theme`| theme name | Installs into `~/.config/omarchy/themes/<name>/` and runs `omarchy-theme-set <name>`. Always silent. Name must match `[A-Za-z0-9][A-Za-z0-9_.-]*`. |
21
22
22
-
`external_theme` and `colors` are mutually exclusive; `external_theme` wins when both are present. `wallpaper` can be combined with either, or used alone. `mode` and `silent` can be combined with any of the above.
23
+
`external_theme` and `colors` are mutually exclusive; `external_theme` wins when both are present. `wallpaper` can be combined with either, or used alone. `mode` and `silent` can be combined with any of the above.`edit` takes precedence over `silent` and `as_omarchy_theme`: if `edit=true` is present, the import always opens in the editor instead of applying or installing.
23
24
24
25
## Examples
25
26
@@ -59,6 +60,12 @@ Install as a named Omarchy theme and activate it:
@@ -109,6 +116,14 @@ Wallpaper-only silent links preserve the current palette by reading the existing
109
116
110
117
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.
111
118
119
+
### `edit=true` — open in the editor without applying
120
+
121
+
`edit=true` is the opposite of `silent`: instead of applying, the import loads the palette and wallpaper into the Aether editor and switches to the editor tab. Nothing is written to disk, no target apps are touched, and the Omarchy themes directory is untouched. The user reviews the palette in the confirm dialog, clicks "Open in editor", tweaks colors or adjustments, then applies manually when ready.
122
+
123
+
It's the safest action, so it wins over the auto-apply flags: a link with both `edit=true` and `silent=true` (or `as_omarchy_theme=...`) opens in the editor and ignores the others. Use it for "customize this theme" buttons where the published palette is a starting point rather than a finished product.
124
+
125
+
The launch/IPC handoff is the same as the default interactive flow: if the GUI is running it's notified over IPC, otherwise it's launched and picks up the staged import on startup.
126
+
112
127
## What's not supported
113
128
114
129
- Other actions. Only `apply` is recognized; `aether://save?...`, `aether://preview?...`, etc. return an error.
0 commit comments