From c8bd29ecd156c49b29cb9413202444013c94806c Mon Sep 17 00:00:00 2001 From: Stacy Harper Date: Sat, 15 Jan 2022 08:23:46 +0100 Subject: [PATCH] Use a simple transparency value --- config.def.h | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/config.def.h b/config.def.h index bea1547..3e8b741 100644 --- a/config.def.h +++ b/config.def.h @@ -2,20 +2,21 @@ #define config_def_h_INCLUDED static const char *default_font = "Monospace 14"; +static const int transparency = 225; struct clr_scheme scheme = { /* colors */ - .bg = {.bgra = {15, 15, 15, 225}}, - .fg = {.bgra = {45, 45, 45, 225}}, - .high = {.bgra = {100, 100, 100, 225}}, + .bg = {.bgra = {15, 15, 15, transparency}}, + .fg = {.bgra = {45, 45, 45, transparency}}, + .high = {.bgra = {100, 100, 100, transparency}}, .swipe = {.bgra = {100, 255, 100, 64}}, .text = {.color = UINT32_MAX}, }; struct clr_scheme scheme1 = { /* colors */ - .bg = {.bgra = {15, 15, 15, 225}}, - .fg = {.bgra = {32, 32, 32, 225}}, - .high = {.bgra = {100, 100, 100, 225}}, + .bg = {.bgra = {15, 15, 15, transparency}}, + .fg = {.bgra = {32, 32, 32, transparency}}, + .high = {.bgra = {100, 100, 100, transparency}}, .swipe = {.bgra = {100, 255, 100, 64}}, .text = {.color = UINT32_MAX}, };