summaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorMoritz Biering <moritzbiering.mb@gmail.com>2021-05-05 21:16:25 +0200
committerMoritz Biering <moritzbiering.mb@gmail.com>2021-05-05 21:23:37 +0200
commit69925ee23b8b1590f65e1f71f2d9ea5156629868 (patch)
tree6dfa47748c3dab88e114669a678677d2805fb1e1 /config.h
parent7e6e779130327e065fcf587afa80f13150d0de31 (diff)
Add support for additional alpha when the term-window is not focused
Diffstat (limited to 'config.h')
-rw-r--r--config.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/config.h b/config.h
index a0d8c1f..3adf598 100644
--- a/config.h
+++ b/config.h
@@ -108,6 +108,7 @@ unsigned int tabspaces = 8;
/* bg opacity */
float alpha = 0.8;
+float alphaUnfocus = 0.8;
/* Terminal colors (16 first used in escape sequence) */
static const char *colorname[] = {
@@ -144,6 +145,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 +219,7 @@ ResourcePref resources[] = {
{ "cwscale", FLOAT, &cwscale },
{ "chscale", FLOAT, &chscale },
{ "alpha", FLOAT, &alpha },
+ { "alphaUnfocus", FLOAT, &alphaUnfocus },
};
/*