diff options
author | Benjamin Chausse <benjamin@chausse.xyz> | 2021-02-23 13:36:37 -0500 |
---|---|---|
committer | Benjamin Chausse <benjamin@chausse.xyz> | 2021-02-23 13:36:37 -0500 |
commit | bf33cee06f51fbb0f95140d9dd45e3efd7af4586 (patch) | |
tree | 1cc2d1513a05d4d3b1195cdc041d3a08544bd450 | |
parent | 33165e7b9a47d37780626c4873d5dcb74cde1283 (diff) |
Alpha patch tweaked to work with tcc
-rw-r--r-- | config.def.h | 11 | ||||
-rw-r--r-- | config.mk | 2 |
2 files changed, 10 insertions, 3 deletions
diff --git a/config.def.h b/config.def.h index 641ac34..ee84cbf 100644 --- 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 */ @@ -35,4 +35,4 @@ LDFLAGS = ${LIBS} #LDFLAGS = ${LIBS} # compiler and linker -CC = cc +CC = tcc |