diff options
author | Moritz Biering <moritzbiering.mb@gmail.com> | 2021-05-06 14:32:57 +0200 |
---|---|---|
committer | Moritz Biering <moritzbiering.mb@gmail.com> | 2021-05-06 14:41:36 +0200 |
commit | bb56685063532f732f4fbdba1d890931dad3d891 (patch) | |
tree | 8c9b5b12df5d8c57530c2945761dff0d9003c958 /config.h | |
parent | 69925ee23b8b1590f65e1f71f2d9ea5156629868 (diff) |
Use the additional alpha-value as offset to support a changing alpha properly
Diffstat (limited to 'config.h')
-rw-r--r-- | config.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -108,7 +108,8 @@ unsigned int tabspaces = 8; /* bg opacity */ float alpha = 0.8; -float alphaUnfocus = 0.8; +float alphaOffset = 0.0; +float alphaUnfocus; /* Terminal colors (16 first used in escape sequence) */ static const char *colorname[] = { @@ -219,7 +220,7 @@ ResourcePref resources[] = { { "cwscale", FLOAT, &cwscale }, { "chscale", FLOAT, &chscale }, { "alpha", FLOAT, &alpha }, - { "alphaUnfocus", FLOAT, &alphaUnfocus }, + { "alphaOffset", FLOAT, &alphaOffset }, }; /* |