summaryrefslogtreecommitdiff
path: root/src/builtins.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/builtins.zig')
-rw-r--r--src/builtins.zig12
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