From af2bbbcae532a730c1bce2b17b3e741512c9c2aa Mon Sep 17 00:00:00 2001 From: Malfurious Date: Tue, 23 Jun 2020 00:57:39 -0400 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. Notes: * 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. Changes in 0.8.2: * The internal method for querying X visual is changed. St will respect the visual of its parent window, allowing it to be embedded easily. * Opacity value is now typed in float. * -A option is added to allow changing the opacity value without compiling. --- st.h | 1 + 1 file changed, 1 insertion(+) (limited to 'st.h') diff --git a/st.h b/st.h index fd3b0d8..9f91e2a 100644 --- a/st.h +++ b/st.h @@ -124,3 +124,4 @@ extern unsigned int tabspaces; extern unsigned int defaultfg; extern unsigned int defaultbg; extern unsigned int defaultcs; +extern float alpha; -- cgit v1.2.3