From 9b18354de659e8f164eef9ca803b45d8efac6760 Mon Sep 17 00:00:00 2001 From: rjl6789 Date: Thu, 9 May 2019 17:55:26 +0100 Subject: [PATCH 1/3] corrected fg and bg defaults again --- config.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config.h b/config.h index 73c7503..3343522 100644 --- a/config.h +++ b/config.h @@ -6,7 +6,7 @@ * font: see http://freedesktop.org/software/fontconfig/fontconfig-user.html */ static char *font = "mono:pixelsize=16:antialias=true:autohint=true"; -static int borderpx = 2; +static int borderpx = 8; /* * What program is execed by st depends of these precedence rules: @@ -115,8 +115,8 @@ static const char *colorname[] = { * Default colors (colorname index) * foreground, background, cursor, reverse cursor */ -unsigned int defaultfg = 15; -unsigned int defaultbg = 0; +unsigned int defaultfg = 257; +unsigned int defaultbg = 256; static unsigned int defaultcs = 15; static unsigned int defaultrcs = 0; From 6ecb8b15955a8df46c0e49ae6db70398c7254a2b Mon Sep 17 00:00:00 2001 From: rjl6789 Date: Sat, 11 May 2019 12:05:30 +0100 Subject: [PATCH 2/3] make config consistent with virgin lukesmith st repo --- config.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config.h b/config.h index 64562f5..dfd9cd8 100644 --- a/config.h +++ b/config.h @@ -6,7 +6,7 @@ * font: see http://freedesktop.org/software/fontconfig/fontconfig-user.html */ static char *font = "mono:pixelsize=16:antialias=true:autohint=true"; -static int borderpx = 8; +static int borderpx = 2; /* * What program is execed by st depends of these precedence rules: @@ -115,8 +115,8 @@ static const char *colorname[] = { * Default colors (colorname index) * foreground, background, cursor, reverse cursor */ -unsigned int defaultfg = 257; -unsigned int defaultbg = 256; +unsigned int defaultfg = 15; +unsigned int defaultbg = 0; static unsigned int defaultcs = 15; static unsigned int defaultrcs = 0; From 55405e17f1ae0d46e2a1547ca34d22395cb36b78 Mon Sep 17 00:00:00 2001 From: rjl6789 Date: Sat, 11 May 2019 12:11:49 +0100 Subject: [PATCH 3/3] correct fg,bg,cs defaults so will work with Xresources and default is gruvbox --- config.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/config.h b/config.h index dfd9cd8..e68878c 100644 --- a/config.h +++ b/config.h @@ -105,8 +105,8 @@ static const char *colorname[] = { "#ebdbb2", [255] = 0, /* more colors can be added after 255 to use with DefaultXX */ - "black", /* 256 -> bg */ - "white", /* 257 -> fg */ + "#282828", /* 256 -> bg */ + "#ebdbb2", /* 257 -> fg */ "#add8e6", /* 258 -> cursor */ }; @@ -115,9 +115,9 @@ static const char *colorname[] = { * Default colors (colorname index) * foreground, background, cursor, reverse cursor */ -unsigned int defaultfg = 15; -unsigned int defaultbg = 0; -static unsigned int defaultcs = 15; +unsigned int defaultfg = 257; +unsigned int defaultbg = 256; +static unsigned int defaultcs = 258; static unsigned int defaultrcs = 0; /*