From 9982f3cf8ddf30104b0e73f817ce8c820049af5a Mon Sep 17 00:00:00 2001 From: Matt Hunter Date: Sat, 17 Jan 2026 19:45:32 -0500 Subject: patch: alpha This patch allows users to change the opacity of the background. Note that you need an X composite manager (e.g. compton, xcompmgr) to make this patch effective. The alpha value affects the default background only. The color designated by 'defaultbg' should not be used elsewhere. Embedding might fail after applying this patch. --- config.def.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'config.def.h') diff --git a/config.def.h b/config.def.h index b962afb..adfcb77 100644 --- a/config.def.h +++ b/config.def.h @@ -93,6 +93,9 @@ char *termname = "st-256color"; */ unsigned int tabspaces = 8; +/* bg opacity */ +float alpha = 0.8; + /* Terminal colors (16 first used in escape sequence) */ static const char *colorname[] = { /* 8 normal colors */ -- cgit v1.2.3