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
*/
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