From 09c35b22793153d201fa202b52671a6442e5e2e1 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Sun, 9 Aug 2026 01:26:08 -0300 Subject: a builtin to put the pane taglines at the bottom --- src/builtins.zig | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/builtins.zig') 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 -- cgit v1.3