openbsd-ports

OpenBSD Ports customizations and WIP
git clone git://git.danielmoch.com/openbsd-ports.git
Log | Files | Refs

commit 8a3c82fb9b056569393a46680c9a8d3dd28ae973
parent 5a0e88b534ccb6980f3a6d47210db761a4610fd8
Author: Daniel Moch <daniel@danielmoch.com>
Date:   Sat, 25 Apr 2020 17:13:57 -0400

Add st patch file

Diffstat:
Ax11/st/patches/patch-config_def_h | 82+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 82 insertions(+), 0 deletions(-)

diff --git a/x11/st/patches/patch-config_def_h b/x11/st/patches/patch-config_def_h @@ -0,0 +1,82 @@ +--- config.def.h Sat Feb 9 06:50:41 2019 ++++ /home/djmoch/src/dotcom-git/pkgbuild/st/config.h Mon Dec 30 19:50:45 2019 +@@ -5,7 +5,7 @@ + * + * font: see http://freedesktop.org/software/fontconfig/fontconfig-user.html + */ +-static char *font = "Liberation Mono:pixelsize=12:antialias=true:autohint=true"; ++static char *font = "monospace:size=9:antialias=true:autohint=false,emoji:size=8:antialias=true:autohint=false"; + static int borderpx = 2; + + /* +@@ -63,7 +63,7 @@ + static int bellvolume = 0; + + /* default TERM value */ +-char *termname = "st-256color"; ++char *termname = "st"; + + /* + * spaces per tab +@@ -85,30 +85,26 @@ + /* Terminal colors (16 first used in escape sequence) */ + static const char *colorname[] = { + /* 8 normal colors */ +- "black", +- "red3", +- "green3", +- "yellow3", +- "blue2", +- "magenta3", +- "cyan3", +- "gray90", ++ "#000000", ++ "#870000", ++ "#00875F", ++ "#878700", ++ "#005FAF", ++ "#875FAF", ++ "#008080", ++ "#BCBCBC", + + /* 8 bright colors */ +- "gray50", +- "red", +- "green", +- "yellow", +- "#5c5cff", +- "magenta", +- "cyan", +- "white", ++ "#3A3A3A", ++ "#D7005F", ++ "#00D75F", ++ "#D7D787", ++ "#5FAFFF", ++ "#D787FF", ++ "#87FF87", ++ "#FFFFEA", + + [255] = 0, +- +- /* more colors can be added after 255 to use with DefaultXX */ +- "#cccccc", +- "#555555", + }; + + +@@ -116,10 +112,10 @@ + * Default colors (colorname index) + * foreground, background, cursor, reverse cursor + */ +-unsigned int defaultfg = 7; +-unsigned int defaultbg = 0; +-static unsigned int defaultcs = 256; +-static unsigned int defaultrcs = 257; ++unsigned int defaultfg = 0; ++unsigned int defaultbg = 15; ++static unsigned int defaultcs = 0; ++static unsigned int defaultrcs = 15; + + /* + * Default shape of cursor