diff options
author | Malfurious <m@lfurio.us> | 2020-06-23 00:57:39 -0400 |
---|---|---|
committer | Malfurious <m@lfurio.us> | 2024-08-12 13:13:38 -0400 |
commit | af2bbbcae532a730c1bce2b17b3e741512c9c2aa (patch) | |
tree | 8cc14bb090b3f7cd59b8ea159f9cfcede30f5435 /config.def.h | |
parent | 4bbee9a95230a0d1f10499c7e410f11e4554d486 (diff) | |
download | st-af2bbbcae532a730c1bce2b17b3e741512c9c2aa.tar.gz st-af2bbbcae532a730c1bce2b17b3e741512c9c2aa.zip |
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.
Diffstat (limited to 'config.def.h')
-rw-r--r-- | config.def.h | 3 |
1 files changed, 3 insertions, 0 deletions
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 */ |