From 62eabe50308b07c7583c1d70e07001d9fbf29099 Mon Sep 17 00:00:00 2001 From: Lukasz M Date: Sun, 26 Apr 2020 14:58:51 +0000 Subject: [PATCH 1/3] modified color definitions in config.def.h --- config.def.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/config.def.h b/config.def.h index 3ae185a..bd18250 100644 --- a/config.def.h +++ b/config.def.h @@ -122,10 +122,10 @@ static const char *colorname[] = { * Default colors (colorname index) * foreground, background, cursor, reverse cursor */ -unsigned int defaultfg = 7; -unsigned int defaultbg = 258; -static unsigned int defaultcs = 256; -static unsigned int defaultrcs = 257; +unsigned int defaultfg = 257; +unsigned int defaultbg = 0; +static unsigned int defaultcs = 258; +static unsigned int defaultrcs = 258; /* * Default shape of cursor From 9774c3a1a06f85287f60ec63cb754aa53d0fa6b2 Mon Sep 17 00:00:00 2001 From: Lukasz M Date: Sun, 26 Apr 2020 14:59:47 +0000 Subject: [PATCH 2/3] added alpha defintions from xresources --- config.def.h | 1 + 1 file changed, 1 insertion(+) diff --git a/config.def.h b/config.def.h index bd18250..0cd5006 100644 --- a/config.def.h +++ b/config.def.h @@ -190,6 +190,7 @@ ResourcePref resources[] = { { "borderpx", INTEGER, &borderpx }, { "cwscale", FLOAT, &cwscale }, { "chscale", FLOAT, &chscale }, + { "alpha", FLOAT, &alpha }, }; /* From 2286ff4a1d91a5eba40bcf918bef011e97a04734 Mon Sep 17 00:00:00 2001 From: Lukasz M Date: Sun, 26 Apr 2020 15:08:46 +0000 Subject: [PATCH 3/3] fixed cursor error --- config.def.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config.def.h b/config.def.h index 0cd5006..c147c78 100644 --- a/config.def.h +++ b/config.def.h @@ -124,8 +124,8 @@ static const char *colorname[] = { */ unsigned int defaultfg = 257; unsigned int defaultbg = 0; -static unsigned int defaultcs = 258; -static unsigned int defaultrcs = 258; +static unsigned int defaultcs = 257; +static unsigned int defaultrcs = 257; /* * Default shape of cursor