From fa2a8ee36579938e285b48cf04e76ea223d97875 Mon Sep 17 00:00:00 2001 From: ray Date: Tue, 25 Feb 2020 22:45:34 +0000 Subject: [PATCH] update configuration --- config.h | 56 ++++++++++++++++++++++++++++---------------------------- 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/config.h b/config.h index 546edda..07cbe96 100644 --- a/config.h +++ b/config.h @@ -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 = "xos4 terminus:style=semibold:size=12:antialias=false"; static int borderpx = 2; /* @@ -32,7 +32,7 @@ static float chscale = 1.0; * * More advanced example: L" `'\"()[]{}" */ -wchar_t *worddelimiters = L" "; +wchar_t *worddelimiters = L" `'\"()[]{}"; /* selection timeouts (in milliseconds) */ static unsigned int doubleclicktimeout = 300; @@ -84,31 +84,31 @@ unsigned int tabspaces = 8; /* Terminal colors (16 first used in escape sequence) */ static const char *colorname[] = { - /* 8 normal colors */ - "black", - "red3", - "green3", - "yellow3", - "blue2", - "magenta3", - "cyan3", - "gray90", - - /* 8 bright colors */ - "gray50", - "red", - "green", - "yellow", - "#5c5cff", - "magenta", - "cyan", - "white", + /* 8 normal colors */ + [0] = "#000000", /* black */ + [1] = "#aa2e2e", /* red */ + [2] = "#36a136", /* green */ + [3] = "#75ab75", /* yellow */ + [4] = "#53cc00", /* blue */ + [5] = "#237923", /* magenta */ + [6] = "#669566", /* cyan */ + [7] = "#717171", /* white */ + /* 8 bright colors */ + [8] = "#1a4519", /* black */ + [9] = "#ff0000", /* red */ + [10] = "#55ff55", /* green */ + [11] = "#9edd9e", /* yellow */ + [12] = "#73ff55", /* blue */ + [13] = "#43ab43", /* magenta */ + [14] = "#85af85", /* cyan */ + [15] = "#d8ffd8", /* white */ [255] = 0, - /* more colors can be added after 255 to use with DefaultXX */ - "#cccccc", - "#555555", + + /* more colors can be added after 255 to use with DefaultXX */ + [256] = "#141414", /* background */ + [257] = "#00cc00", /* foreground */ }; @@ -116,10 +116,10 @@ static const char *colorname[] = { * 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 = 257; +unsigned int defaultbg = 256; +static unsigned int defaultcs = 12; +static unsigned int defaultrcs = 256; /* * Default shape of cursor