diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-08 23:18:27 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-08 23:18:27 -0300 |
| commit | bfae9bec636129e78703bce3b156963686ab81dc (patch) | |
| tree | d3c7423424f6eddbd08dc56d33472dc04764a129 /src/surface.zig | |
| parent | 3e136122ecdc674e611016f5936b73bef3d26b01 (diff) | |
| download | pardes-bfae9bec636129e78703bce3b156963686ab81dc.tar.gz pardes-bfae9bec636129e78703bce3b156963686ab81dc.zip | |
gui: the workspace row's underlay is the tagline's ground: the window painted every tagline-role cell's band in the tag's colour under the cell's own, so a theme whose tagline is another colour (dark_plus's blue) showed the tag's gray at the row's left inset and between its cells like an anchor that is not there; the surface carries tagline_bg and the rows it covers, and the band takes it there
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
Diffstat (limited to 'src/surface.zig')
| -rw-r--r-- | src/surface.zig | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/surface.zig b/src/surface.zig index 15147146..5bee28d7 100644 --- a/src/surface.zig +++ b/src/surface.zig @@ -307,6 +307,11 @@ pub const Chrome = struct { /// The rule under the workspace tag. topbar_rule: [3]u8 = .{ 0, 0, 0 }, tag_bg: [3]u8 = .{ 0, 0, 0 }, + /// The workspace row's ground (a theme's status bar), and how many grid + /// rows from the top it covers: the window paints its underlay there in + /// this colour, not the tag's. + tagline_bg: [3]u8 = .{ 0, 0, 0 }, + tagline_rows: u16 = 0, /// The focused pane's and column's tag underlay. tag_focus_bg: [3]u8 = .{ 0, 0, 0 }, tag_fg: [3]u8 = .{ 0, 0, 0 }, |
