add opacity to xresources and set default val to 0.9

This commit is contained in:
Jakub 2022-12-21 00:30:01 -05:00
parent bdbdaeb3b7
commit 3abdb81fd7

View File

@ -94,7 +94,7 @@ char *termname = "st-256color";
unsigned int tabspaces = 8;
/* bg opacity */
float alpha = 0.8;
float alpha = 0.9;
/* Terminal colors (16 first used in escape sequence) */
static const char *colorname[] = {
@ -214,6 +214,7 @@ ResourcePref resources[] = {
{ "borderpx", INTEGER, &borderpx },
{ "cwscale", FLOAT, &cwscale },
{ "chscale", FLOAT, &chscale },
{ "opacity", FLOAT, &alpha },
};
/*