Repository navigation
Description
Problem
The bar supports a bottom rule, but not an outline around all four edges. The requested behavior is a brass outline around the entire bar while AeroSpace is in its tailing binding mode, restoring the theme's normal border when leaving that mode.
On main 3e621ba / v0.5.0-beta.72, bar.style.borderColor and borderWidth always draw a rectangle aligned to the bottom in BarView. Setting a larger width only thickens that bottom rule. Script output barStyle uses the same renderer.
Proposal
Add an explicit bar border placement/edge setting supporting all four edges, while keeping the current bottom-only default.
Acceptance:
- A thin outline can surround the top, left, right and bottom of the bar, following its corner radius and margin without covering the labels.
- Themes and supported runtime bar styling can select this appearance through configuration properties.
- Mode-driven theme styling uses the active theme's warning/brass token in
tailing, then restores the normal border when leaving it. Switching themes while in either mode must use the newly selected theme's styles. - Existing configurations retain their bottom-only border; document and cover the new property across decoding/schema, configuration layers, Customize and rendering.
Possible today
A script subscribed to aerospaceMode can return barStyle.borderColor and omit it to restore the configured color on its next output. That changes only the bottom edge. Themes cannot currently bind bar styles directly to the mode; bar.style has no active states, and profile conditions have no workspace-mode field.
Related
#55 tracks theme-owned presentation, now including the mode condition and token-based colors. This issue covers the missing all-edge border geometry. #56 concerns an underline outside the bar and is distinct. #49 introduced today's bar borders (v0.5.0-beta.63); #15 / #50 left bar states and window-manager modes out. All-state searches for outline, border, bar state and mode found no existing all-edge border request.
Triaged by Codex via T3 Code (gpt-6-astra).
Activity
M4n0x commentedon Oct 17, 2026
Consolidated into #55: #55. Its acceptance criteria retain the full four-edge outline, theme-owned brass color in tailing mode, restoration on exit, and correct theme switching. This closes only the separate tracking issue; the feature remains planned and has not been implemented.