commit 7c9997bb67b546fd035795b52cf2523ab371dfa8
parent 8de47acc47ef64ae7671ca4de6421aafd555290a
Author: Matthew Carlson <matt@mcarlson.xyz>
Date: Fri, 2 Jul 2021 19:08:42 +0000
fixed colors
Diffstat:
1 file changed, 6 insertions(+), 8 deletions(-)
diff --git a/config.h b/config.h
@@ -5,10 +5,8 @@
*
* 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:pixelsize=16:antialias=true:autohint=true";
static char *font2[] = {
-/* "Inconsolata for Powerline:pixelsize=12:antialias=true:autohint=true", */
-/* "Hack Nerd Font Mono:pixelsize=11:antialias=true:autohint=true", */
};
static int borderpx = 2;
@@ -148,11 +146,11 @@ static const char *colorname[] = {
* Default colors (colorname index)
* foreground, background, cursor, reverse cursor
*/
-unsigned int defaultfg = 7;
-unsigned int defaultbg = 0;
+unsigned int defaultfg = 15;
+unsigned int defaultbg = 258;
static unsigned int defaultcs = 256;
static unsigned int defaultrcs = 257;
-unsigned int bg = 17, bgUnfocused = 16;
+unsigned int bg = 258, bgUnfocused = 258;
/*
* https://invisible-island.net/xterm/ctlseqs/ctlseqs.html#h4-Functions-using-CSI-_-ordered-by-the-final-character-lparen-s-rparen:CSI-Ps-SP-q.1D81
@@ -218,9 +216,9 @@ ResourcePref resources[] = {
{ "color13", STRING, &colorname[13] },
{ "color14", STRING, &colorname[14] },
{ "color15", STRING, &colorname[15] },
- { "background", STRING, &colorname[256] },
+ { "background", STRING, &colorname[258] },
{ "foreground", STRING, &colorname[257] },
- { "cursorColor", STRING, &colorname[258] },
+ { "cursorColor", STRING, &colorname[256] },
{ "termname", STRING, &termname },
{ "shell", STRING, &shell },
{ "minlatency", INTEGER, &minlatency },