diff options
| author | user <user@clank> | 2026-08-14 20:12:51 +0200 |
|---|---|---|
| committer | user <user@clank> | 2026-08-14 20:12:51 +0200 |
| commit | ebd051073d5fc0ed5b8e59dd70501c07241ec3ed (patch) | |
| tree | 32c48022582c1c27a3a6c83c4c313de9ec582ab5 /config | |
| parent | sl0ppty: minimise a pane into a strip along the bottom (diff) | |
| download | slosh-ebd051073d5fc0ed5b8e59dd70501c07241ec3ed.tar.gz slosh-ebd051073d5fc0ed5b8e59dd70501c07241ec3ed.tar.xz slosh-ebd051073d5fc0ed5b8e59dd70501c07241ec3ed.zip | |
sl0ppty: pick a minimise mark that fills its cell
The buttons looked unevenly spaced. They are not: the cells are mark, space,
space, mark, space, space, mark, exactly even, which is worth checking before
touching any arithmetic.
The gap was in the glyph. An en dash is a short stroke floating in a mostly
empty cell, so it donated its own whitespace to the space beside it and sat
further from the zoom button than the zoom button sat from close, which fill
theirs. A lower one-eighth block has weight comparable to the square and the
cross, and is also the conventional minimise icon and a fair description of
where the pane actually goes.
Noted in the config beside the width warning, since it is the same class of
problem: the mark is yours to choose and the two things to know about the
choice are that emoji are drawn double-width and that a light glyph will look
badly spaced next to heavy ones.
Diffstat (limited to 'config')
| -rw-r--r-- | config/config.kdl | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/config/config.kdl b/config/config.kdl index 39e185c..2567060 100644 --- a/config/config.kdl +++ b/config/config.kdl @@ -54,12 +54,15 @@ title_inset 2 pane_buttons true // Emoji are drawn two columns wide by many terminals while chrome here is -// booked as one, so these default to narrow glyphs. Put the character itself +// booked as one, so these default to narrow glyphs. Pick marks of similar +// visual weight: the buttons are evenly spaced, but a glyph that floats in a +// mostly-empty cell donates that space to the gap and looks further off than +// its neighbours. Put the character itself // here; this file has no \u escape. zoom_mark "□" zoom_on_mark "▣" close_mark "×" -min_mark "–" +min_mark "▁" bell_indicator true |
