aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authoruser <user@clank>2026-09-02 15:09:36 +0200
committeruser <user@clank>2026-09-02 15:09:36 +0200
commitcafa48e0a7e1eb48a783bfde6862c5fd82c7aede (patch)
tree8e7874fc9a26a0354154906fd9e6fd30e10fe197 /include
parentweb: chore (diff)
downloadslosh-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 'include')
-rw-r--r--include/app.h1
-rw-r--r--include/config.h4
2 files changed, 5 insertions, 0 deletions
diff --git a/include/app.h b/include/app.h
index f0928d7..6cf6886 100644
--- a/include/app.h
+++ b/include/app.h
@@ -64,6 +64,7 @@ size_t app_config_files(const char **out, size_t max);
* shared screen takes (SIZE_FOLLOWS_* in config.h). */
bool app_cfg_multi_attach(void);
bool app_cfg_attach_indicator(void);
+void app_cfg_attach_colors(color_t *fg, color_t *bg);
int app_cfg_size_follows(void);
/* What the config in force complained about while loading, or "". A complaint is
* not a failure -- an include that is not there, a shader nobody has heard of --
diff --git a/include/config.h b/include/config.h
index 2be60f5..69a017b 100644
--- a/include/config.h
+++ b/include/config.h
@@ -445,6 +445,10 @@ typedef struct {
/* announcements */
color_t toast_fg, toast_bg;
+ /* the multi-client tag ("2 clients", per-client top-right chrome). Muted
+ * by default: it is standing information, not an announcement. */
+ color_t attach_fg, attach_bg;
+
/* keys */
int prefix_key;
uint16_t prefix_mods;