diff options
author | Luke Smith <luke@lukesmith.xyz> | 2021-05-21 08:44:26 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-21 08:44:26 -0400 |
commit | ecd5e3f7984e194fe9d6956b2057be064d194895 (patch) | |
tree | e094781ef014f46cbed7caf5f4b2f903f8e77808 /config.h | |
parent | 140f27565b7eb733aec790e178a2e6a9a79c3cac (diff) | |
parent | bb56685063532f732f4fbdba1d890931dad3d891 (diff) |
Merge pull request #296 from zMoooooritz/alpha
Add support for additional alpha when the term-window is not focused
Diffstat (limited to 'config.h')
-rw-r--r-- | config.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -108,6 +108,8 @@ unsigned int tabspaces = 8; /* bg opacity */ float alpha = 0.8; +float alphaOffset = 0.0; +float alphaUnfocus; /* Terminal colors (16 first used in escape sequence) */ static const char *colorname[] = { @@ -144,6 +146,7 @@ unsigned int defaultfg = 259; unsigned int defaultbg = 258; unsigned int defaultcs = 256; unsigned int defaultrcs = 257; +unsigned int background = 258; /* * Default shape of cursor @@ -217,6 +220,7 @@ ResourcePref resources[] = { { "cwscale", FLOAT, &cwscale }, { "chscale", FLOAT, &chscale }, { "alpha", FLOAT, &alpha }, + { "alphaOffset", FLOAT, &alphaOffset }, }; /* |