shell theme: the bar self-restarts now, soften the restart copy

breadbar re-execs itself on a shell.toml 'active' change and breadbox
re-reads the theme per launcher open, so a switch applies without the
user doing anything. Reword the Apply card to say so and demote the
'Restart bar & launcher' button to a fallback.
This commit is contained in:
Breadway 2026-09-02 12:06:47 +08:00
parent bfb78fd6f5
commit 16f42d5a82
2 changed files with 11 additions and 11 deletions

View file

@ -101,13 +101,11 @@
<Group title="Apply">
<Hint
text={switched
? "Restart the bar and launcher (or log out and back in) to switch to this theme."
: "A theme change takes effect when the bar and launcher restart, or on the next login."}
? "The bar restarts itself to pick up the new theme; the launcher applies it next time you open it."
: "The bar restarts itself on a theme change; the launcher applies it on its next open. Use the button below if something looks stuck."}
/>
<div class="foot">
<button class="btn primary" disabled={busy} onclick={restart}>
Restart bar &amp; launcher
</button>
<button class="btn" disabled={busy} onclick={restart}>Restart bar &amp; launcher</button>
</div>
</Group>
{/if}