Add support for additional alpha when the term-window is not focused
This commit is contained in:
3
config.h
3
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 },
|
||||
};
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user