From 13499f83ef3718f06491fa32796c9cfdad8d4b72 Mon Sep 17 00:00:00 2001 From: Alex Denes Date: Sun, 11 Oct 2020 21:00:52 +0200 Subject: [PATCH] Change default font and colors, fix few tweaks --- config.def.h => config.h | 61 +++++++++++++++++++--------------------- 1 file changed, 29 insertions(+), 32 deletions(-) rename config.def.h => config.h (96%) diff --git a/config.def.h b/config.h similarity index 96% rename from config.def.h rename to config.h index 91ab8ca..4bab197 100644 --- a/config.def.h +++ b/config.h @@ -5,8 +5,8 @@ * * font: see http://freedesktop.org/software/fontconfig/fontconfig-user.html */ -static char *font = "Liberation Mono:pixelsize=12:antialias=true:autohint=true"; -static int borderpx = 2; +static char *font = "monospace:pixelsize=14:hintstyle=hintnone:autohint=true"; +static int borderpx = 0; /* * What program is execed by st depends of these precedence rules: @@ -34,7 +34,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; @@ -95,44 +95,41 @@ 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", +// Neon + // 8 normal colors + [0] = "#111111", + [1] = "#e6193c", + [2] = "#29a329", + [3] = "#c3c322", + [4] = "#3d62f5", + [5] = "#ad2bee", + [6] = "#1999b3", + [7] = "#cfcfcf", - /* 8 bright colors */ - "gray50", - "red", - "green", - "yellow", - "#5c5cff", - "magenta", - "cyan", - "white", + // 8 bright colors + [8] = "#353535", + [9] = "#e6193c", + [10] = "#29a329", + [11] = "#c3c322", + [12] = "#3d62f5", + [13] = "#ad2bee", + [14] = "#1999b3", + [15] = "#f0fff0", [255] = 0, - - /* more colors can be added after 255 to use with DefaultXX */ - "#cccccc", - "#555555", - "gray90", /* default foreground colour */ - "black", /* default background colour */ + // special colors + [256] = "#000000", + [257] = "#eeeeee", }; - /* * Default colors (colorname index) * foreground, background, cursor, reverse cursor */ -unsigned int defaultfg = 258; -unsigned int defaultbg = 259; -unsigned int defaultcs = 256; -static unsigned int defaultrcs = 257; +unsigned int defaultfg = 7; +unsigned int defaultbg = 256; +unsigned int defaultcs = 7; +static unsigned int defaultrcs = 0; /* * Default shape of cursor