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/config.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/config.c')
| -rw-r--r-- | src/config.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/config.c b/src/config.c index 9c06983..2e3e662 100644 --- a/src/config.c +++ b/src/config.c @@ -662,6 +662,8 @@ static const struct { {"rename_bg", offsetof(config_t, rename_bg)}, {"toast_fg", offsetof(config_t, toast_fg)}, {"toast_bg", offsetof(config_t, toast_bg)}, + {"attach_fg", offsetof(config_t, attach_fg)}, + {"attach_bg", offsetof(config_t, attach_bg)}, }; #define THEME_COLOR(c, i) ((color_t *)((char *)(c) + THEME_COLORS[i].off)) @@ -1054,6 +1056,11 @@ void config_defaults(config_t *c) { c->toast_fg = ink; c->toast_bg = accent; + /* Quiet on purpose: gray ink on the terminal's own background. The toast + * colours announce; this one merely mentions. */ + c->attach_fg = dim; + c->attach_bg = (color_t){0}; + c->prefix_key = GHOSTTY_KEY_A; c->prefix_mods = MOD_CTRL; |
