From: Jakub Czajka Date: Sun, 17 Apr 2022 06:16:17 +0000 (+0200) Subject: Fix defaultcs in config.h and update config.def.h X-Git-Url: https://git.ekhem.eu.org/?a=commitdiff_plain;h=1380714fb93713cc669cf3cf8e218b4f7d2dd812;p=st.git Fix defaultcs in config.h and update config.def.h --- diff --git a/config.def.h b/config.def.h index 09a05ea..646e3e5 100644 --- a/config.def.h +++ b/config.def.h @@ -6,10 +6,10 @@ * font: see http://freedesktop.org/software/fontconfig/fontconfig-user.html */ static char *font = "Liberation Mono:pixelsize=12:antialias=true:autohint=true"; -+/* Spare fonts */ -+static char *font2[] = { -+ "Noto Emoji:pixelsize=12:antialias=true:autohint=true", -+}; +/* Spare fonts */ +static char *font2[] = { + "Noto Emoji:pixelsize=12:antialias=true:autohint=true", +}; static int borderpx = 2; @@ -136,8 +136,8 @@ static const char *colorname[] = { * Default colors (colorname index) * foreground, background, cursor, reverse cursor */ -unsigned int defaultfg = 258; -unsigned int defaultbg = 259; +unsigned int defaultfg = 7; +unsigned int defaultbg = 0; unsigned int defaultcs = 256; static unsigned int defaultrcs = 257; unsigned int bg = 17, bgUnfocused = 16; diff --git a/config.h b/config.h index 53d34aa..646e3e5 100644 --- a/config.h +++ b/config.h @@ -138,7 +138,7 @@ static const char *colorname[] = { */ unsigned int defaultfg = 7; unsigned int defaultbg = 0; -static unsigned int defaultcs = 256; +unsigned int defaultcs = 256; static unsigned int defaultrcs = 257; unsigned int bg = 17, bgUnfocused = 16;