]> git.ekhem.eu.org Git - st.git/commitdiff
Fix defaultcs in config.h and update config.def.h
authorJakub Czajka <jakub@ekhem.eu.org>
Sun, 17 Apr 2022 06:16:17 +0000 (08:16 +0200)
committerJakub Czajka <jakub@ekhem.eu.org>
Sat, 14 Oct 2023 20:54:31 +0000 (22:54 +0200)
config.def.h
config.h

index 09a05ea8e1d55fb0933217a9fe7c6fa914c49e1a..646e3e572f13545554cc8c42119cb5bf803de606 100644 (file)
@@ -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;
index 53d34aa49895923721540906b24ed753f50383b5..646e3e572f13545554cc8c42119cb5bf803de606 100644 (file)
--- 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;