diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2025-10-16 11:43:33 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2026-03-02 08:39:09 +0000 |
| commit | dea10e2e48162c6ab48ca564ceeca88dea886a04 (patch) | |
| tree | 04f41254ed11545b45565ae413e6839006490d71 /terminal.c | |
| parent | Spawning new terminal with --config from parent instance (diff) | |
Add support for background blur
This patch adds a new config option: colors{,2}.blur=no|yes. When
enabled, transparent background are also blurred.
Note that this requires the brand new ext-background-effect-v1
protocol, and specifically, that the compositor implements the blur
effect.
Diffstat (limited to 'terminal.c')
| -rw-r--r-- | terminal.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -4819,3 +4819,11 @@ term_theme_toggle(struct terminal *term) term_damage_margins(term); render_refresh(term); } + +const struct color_theme * +term_theme_get(const struct terminal *term) +{ + return term->colors.active_theme == COLOR_THEME_DARK + ? &term->conf->colors_dark + : &term->conf->colors_light; +} |
