diff options
| author | Gabriel Schneider <[email protected]> | 2026-08-09 01:26:08 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-08-10 09:17:07 -0300 |
| commit | 09c35b22793153d201fa202b52671a6442e5e2e1 (patch) | |
| tree | 1eb84c955dc96f4c6bcb75b36f6113ccad8e2f1e /src/builtins.zig | |
| parent | 475cc49ccbe9e81f8ec8aa2371c20fc632d110b9 (diff) | |
| download | pardes-09c35b22793153d201fa202b52671a6442e5e2e1.tar.gz pardes-09c35b22793153d201fa202b52671a6442e5e2e1.zip | |
a builtin to put the pane taglines at the bottom
Diffstat (limited to 'src/builtins.zig')
| -rw-r--r-- | src/builtins.zig | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/builtins.zig b/src/builtins.zig index b1380203..934b3996 100644 --- a/src/builtins.zig +++ b/src/builtins.zig @@ -191,6 +191,18 @@ pub const Wrap = struct { } }; +/// Taglines at the BOTTOM of every pane instead of the top. Global like Wrap +/// and for the same reason — a layout where some panes label themselves above +/// and others below is unreadable, so it is one switch for the whole screen. +/// The transient message row moves the other way to keep out of its way (see +/// render), which puts the two strips of chrome at the ends they always were, +/// just swapped. +pub const Tagbottom = struct { + pub fn run(c: Ctx) void { + c.p.tag_bottom = !c.p.tag_bottom; + } +}; + /// One step along the ring. With 228 themes in it this is no longer a way to /// REACH a theme — ThemeSel is — but it is still the way to browse one, and the /// browse got better rather than worse: the generated half is sorted by name, so |
