diff options
| author | user <user@clank> | 2026-09-02 15:09:36 +0200 |
|---|---|---|
| committer | user <user@clank> | 2026-09-02 15:09:36 +0200 |
| commit | cafa48e0a7e1eb48a783bfde6862c5fd82c7aede (patch) | |
| tree | 8e7874fc9a26a0354154906fd9e6fd30e10fe197 /src/app.c | |
| parent | web: chore (diff) | |
| download | slosh-cafa48e0a7e1eb48a783bfde6862c5fd82c7aede.tar.gz slosh-cafa48e0a7e1eb48a783bfde6862c5fd82c7aede.tar.xz slosh-cafa48e0a7e1eb48a783bfde6862c5fd82c7aede.zip | |
attach tag: just the count, in theme colours
The +x+y offset goes -- 'N clients' says the thing that matters. The
inverse-video chip goes with it: the tag now draws in attach_fg /
attach_bg from the theme, defaulting to gray ink on the terminal's
own background. Standing information, not an announcement.
Diffstat (limited to 'src/app.c')
| -rw-r--r-- | src/app.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -98,6 +98,12 @@ bool app_cfg_attach_indicator(void) { return CFG.attach_indicator; } +void app_cfg_attach_colors(color_t *fg, color_t *bg) { + ensure_config(); + if (fg) *fg = CFG.attach_fg; + if (bg) *bg = CFG.attach_bg; +} + int app_cfg_size_follows(void) { ensure_config(); return CFG.size_follows; |
