From 502c57de2fe8e0317edfb27240efc55a0800c137 Mon Sep 17 00:00:00 2001 From: Rob Date: Sun, 31 Mar 2019 18:51:31 +0100 Subject: [PATCH 1/5] change bg and fg colors to 256 257 respectivly --- config.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/config.h b/config.h index 53ce8fb..6e2f2ac 100644 --- a/config.h +++ b/config.h @@ -5,8 +5,9 @@ * * 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 char *font = "monospace:pixelsize=28:antialias=true:autohint=true:dpi=168"; +static char *font = "mono:pixelsize=28:antialias=true:autohint=false:hinting=false:hintstyle=2:dpi=168"; +static int borderpx = 4; /* * What program is execed by st depends of these precedence rules: @@ -113,8 +114,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 d6863bfeded8c307a4476ce4edeff05103015f4d Mon Sep 17 00:00:00 2001 From: Rob Date: Sun, 31 Mar 2019 18:52:07 +0100 Subject: [PATCH 2/5] add simple script to uninstall->clean->rebuild->install --- refresh.sh | 2 ++ 1 file changed, 2 insertions(+) create mode 100755 refresh.sh diff --git a/refresh.sh b/refresh.sh new file mode 100755 index 0000000..28ac13c --- /dev/null +++ b/refresh.sh @@ -0,0 +1,2 @@ +#!/bin/sh +sudo make uninstall && make clean && make && sudo make install From 25f59984daa5ccdde1517b84a027f834ada6634a Mon Sep 17 00:00:00 2001 From: rjl6789 Date: Tue, 7 May 2019 22:28:04 +0100 Subject: [PATCH 3/5] test --- delme | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 delme diff --git a/delme b/delme new file mode 100644 index 0000000..e69de29 From e99aa29eefb43c1ea9f63c13d35bf45f7a90171b Mon Sep 17 00:00:00 2001 From: rjl6789 Date: Tue, 7 May 2019 22:28:40 +0100 Subject: [PATCH 4/5] test2 --- delme | 0 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 delme diff --git a/delme b/delme deleted file mode 100644 index e69de29..0000000 From e0005c695e339c08bda2910b36efe026489adab1 Mon Sep 17 00:00:00 2001 From: rjl6789 Date: Thu, 9 May 2019 07:42:21 +0100 Subject: [PATCH 5/5] corrected colorname declaration --- config.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config.h b/config.h index d691716..6f1b85a 100644 --- a/config.h +++ b/config.h @@ -5,9 +5,8 @@ * * font: see http://freedesktop.org/software/fontconfig/fontconfig-user.html */ -//static char *font = "monospace:pixelsize=28:antialias=true:autohint=true:dpi=168"; -static char *font = "mono:pixelsize=28:antialias=true:autohint=false:hinting=false:hintstyle=2:dpi=168"; -static int borderpx = 4; +static char *font = "mono:pixelsize=16:antialias=true:autohint=true"; +static int borderpx = 2; /* * What program is execed by st depends of these precedence rules: @@ -108,6 +107,7 @@ static const char *colorname[] = { /* more colors can be added after 255 to use with DefaultXX */ "black", /* 256 -> bg */ "white", /* 257 -> fg */ + "#add8e6", /* 258 -> cursor */ };