commit bf33cee06f51fbb0f95140d9dd45e3efd7af4586
parent 33165e7b9a47d37780626c4873d5dcb74cde1283
Author: Benjamin Chausse <benjamin@chausse.xyz>
Date:   Tue, 23 Feb 2021 13:36:37 -0500

Alpha patch tweaked to work with tcc

Diffstat:
Mconfig.def.h | 11+++++++++--
Mconfig.mk | 2+-
2 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/config.def.h b/config.def.h @@ -22,8 +22,13 @@ static const char col_sel_border[] = "#1A282F"; /* static const char col_white[] = "#f2f1f0"; */ /* static const char col_gray4[] = "#aaccbb"; */ /* static const char col_cyan[] = "#42717b"; */ -static const unsigned int baralpha = 0xd0; -static const unsigned int borderalpha = OPAQUE; + +#define baralpha 0xd0 +#define borderalpha OPAQUE + +/* static const unsigned int baralpha = 0xd0; */ +/* static const unsigned int borderalpha = OPAQUE; */ + static const char *colors[][3] = { /* fg bg border */ [SchemeNorm] = { col_norm_fg, col_norm_bg, col_norm_border }, @@ -64,6 +69,8 @@ static const Rule rules[] = { { "Dropbox-cli",NULL, NULL, 0, 0, 1, 0, 1, -1, 1 }, { NULL, NULL, "Kite", 0, 0, 0, 0, 1, -1, 1 }, { "Arandr", NULL, NULL, 0, 1, 1, 0, 0, -1, 1 }, + { "Surf", NULL, NULL, 0, 1, 0, 0, 1, -1, 1 }, + { "Zathura", NULL, NULL, 0, 0, 0, 0, 1, -1, 1 }, }; /* include functions */ diff --git a/config.mk b/config.mk @@ -35,4 +35,4 @@ LDFLAGS = ${LIBS} #LDFLAGS = ${LIBS} # compiler and linker -CC = cc +CC = tcc