Change default font and colors, fix few tweaks

This commit is contained in:
Alex D. 2020-10-11 21:00:52 +02:00
parent 211964d56e
commit 13499f83ef
Signed by: caskd
GPG Key ID: F92BA85F61F4C173
1 changed files with 29 additions and 32 deletions

View File

@ -5,8 +5,8 @@
* *
* font: see http://freedesktop.org/software/fontconfig/fontconfig-user.html * 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=14:hintstyle=hintnone:autohint=true";
static int borderpx = 2; static int borderpx = 0;
/* /*
* What program is execed by st depends of these precedence rules: * What program is execed by st depends of these precedence rules:
@ -34,7 +34,7 @@ static float chscale = 1.0;
* *
* More advanced example: L" `'\"()[]{}" * More advanced example: L" `'\"()[]{}"
*/ */
wchar_t *worddelimiters = L" "; wchar_t *worddelimiters = L" `'\"()[]{}";
/* selection timeouts (in milliseconds) */ /* selection timeouts (in milliseconds) */
static unsigned int doubleclicktimeout = 300; static unsigned int doubleclicktimeout = 300;
@ -95,44 +95,41 @@ unsigned int tabspaces = 8;
/* Terminal colors (16 first used in escape sequence) */ /* Terminal colors (16 first used in escape sequence) */
static const char *colorname[] = { static const char *colorname[] = {
/* 8 normal colors */ // Neon
"black", // 8 normal colors
"red3", [0] = "#111111",
"green3", [1] = "#e6193c",
"yellow3", [2] = "#29a329",
"blue2", [3] = "#c3c322",
"magenta3", [4] = "#3d62f5",
"cyan3", [5] = "#ad2bee",
"gray90", [6] = "#1999b3",
[7] = "#cfcfcf",
/* 8 bright colors */ // 8 bright colors
"gray50", [8] = "#353535",
"red", [9] = "#e6193c",
"green", [10] = "#29a329",
"yellow", [11] = "#c3c322",
"#5c5cff", [12] = "#3d62f5",
"magenta", [13] = "#ad2bee",
"cyan", [14] = "#1999b3",
"white", [15] = "#f0fff0",
[255] = 0, [255] = 0,
// special colors
/* more colors can be added after 255 to use with DefaultXX */ [256] = "#000000",
"#cccccc", [257] = "#eeeeee",
"#555555",
"gray90", /* default foreground colour */
"black", /* default background colour */
}; };
/* /*
* Default colors (colorname index) * Default colors (colorname index)
* foreground, background, cursor, reverse cursor * foreground, background, cursor, reverse cursor
*/ */
unsigned int defaultfg = 258; unsigned int defaultfg = 7;
unsigned int defaultbg = 259; unsigned int defaultbg = 256;
unsigned int defaultcs = 256; unsigned int defaultcs = 7;
static unsigned int defaultrcs = 257; static unsigned int defaultrcs = 0;
/* /*
* Default shape of cursor * Default shape of cursor