Applying transparent bar patch
This commit is contained in:
commit
24ddc71b94
6 changed files with 97 additions and 22 deletions
15
config.h
15
config.h
|
@ -23,6 +23,8 @@ static const char col_red[] = "#fb4934";
|
|||
static const char col_yellow[] = "#fabd2f";
|
||||
static const char col_teal[] = "#8ec07c";
|
||||
static const char col_purple[] = "#b16286";
|
||||
static const unsigned int baralpha = 180;
|
||||
static const unsigned int borderalpha = OPAQUE;
|
||||
static const char *colors[][3] = {
|
||||
/* fg bg border */
|
||||
[SchemeNorm] = { col_gray4, col_gray1, "#000000" },
|
||||
|
@ -36,6 +38,19 @@ static const char *colors[][3] = {
|
|||
[SchemeUrgent]= { col_red, col_gray1, col_gray1},
|
||||
};
|
||||
|
||||
static const unsigned int alphas[][3] = {
|
||||
/* fg bg border */
|
||||
[SchemeNorm] = { OPAQUE, baralpha, borderalpha },
|
||||
[SchemeSel] = { OPAQUE, baralpha, borderalpha },
|
||||
[SchemeStatus] = { OPAQUE, baralpha, borderalpha },
|
||||
[SchemeTagsSel] = { OPAQUE, baralpha, borderalpha },
|
||||
[SchemeTagsNorm] = { OPAQUE, baralpha, borderalpha },
|
||||
[SchemeInfoSel] = { OPAQUE, baralpha, borderalpha },
|
||||
[SchemeInfoNorm] ={ OPAQUE, baralpha, borderalpha },
|
||||
[SchemeWarn] = { OPAQUE, baralpha, borderalpha },
|
||||
[SchemeUrgent]= { OPAQUE, baralpha, borderalpha }
|
||||
};
|
||||
|
||||
/* tagging */
|
||||
static const char *tags[] = { "", "", "", "", "", ""};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue