diff options
| author | user <user@clank> | 2026-08-25 14:23:33 +0200 |
|---|---|---|
| committer | user <user@clank> | 2026-08-25 14:23:33 +0200 |
| commit | b744a90859bf248bfbea97f990668301b5fa9537 (patch) | |
| tree | f1b717507bc24161b7ab41def644289f9457470e /config | |
| parent | placeholder webbie (diff) | |
| download | slosh-b744a90859bf248bfbea97f990668301b5fa9537.tar.gz slosh-b744a90859bf248bfbea97f990668301b5fa9537.tar.xz slosh-b744a90859bf248bfbea97f990668301b5fa9537.zip | |
compact: shared borders instead of gaps (D23)
One knob, `compact true`: panes pack flush against 1-cell divider lines
that meet in real junctions, one frame rings the tab, and a pane's title
rides the line above it -- a boundary costs one cell where the default
look spends four. The lines are strokes: each write says which edges of
its cell it needs, unions with what is there, and never clobbers text,
so ├ ┬ ┼ fall out of paint order and the focus ring recolours without
inventing arms. The divider *is* the gap (eff_gap, one answer for the
layout, split_fits and the resize clamp), so gap hits, hover hints and
corner drags work unchanged. Interior edges give up click-to-split --
one cell cannot hold two verbs -- and a pane's status row overlays its
last content row. Floats, zoom and the D6 flatten keep classic frames
through place_hidden: zero new tree cases.
Underneath it, mode or no mode: a border drag now moves the boundary on
that side, converted on the first motion so the press that never moves
keeps its old meaning -- the handle's click still splits, the rim's is
still deliberately nothing (drag.rim). Which is also the fix for gap 0,
where flush panes leave no gap cell to grab and the resize gesture had
silently vanished with it.
Diffstat (limited to 'config')
| -rw-r--r-- | config/config.kdl | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/config/config.kdl b/config/config.kdl index c1e51da..ad9e2d4 100644 --- a/config/config.kdl +++ b/config/config.kdl @@ -96,6 +96,17 @@ gap_aspect 2 // have to look up is a line nobody can read. padding 0 +// Shared borders instead of gaps. Panes pack flush against 1-cell divider +// lines that meet in real junctions (├ ┬ ┼), one frame rings the whole tab, +// and each pane's title rides the line above it -- so a boundary costs one +// cell instead of four. `gap` and `gap_aspect` stop applying (the boundary +// *is* the divider); `padding` still does. The dividers carry the same drag +// the gaps did; interior edges give up click-to-split -- a one-cell line +// cannot hold two verbs -- and the outer frame keeps it. A pane's status row +// (a dead pane's epitaph, OSC 5577) overlays its last content row, there +// being no bottom border left to carry it. +compact false + // ╭╮╰╯ versus ┌┐└┘ rounded true |
