4 Commits

Author SHA1 Message Date
Fabian Schmidt
90fbac1579 Changed fallback font size 2020-05-26 18:26:58 +02:00
Fabian Schmidt
97c4cd5627 Added ttf-joypixels to fonts 2020-05-26 18:11:53 +02:00
Fabian Schmidt
922728536b Added fallback fonts 2020-05-23 14:30:52 +02:00
Fabian Schmidt
b672675ae6 Added support for fallback fonts 2020-05-23 12:36:29 +02:00
3 changed files with 118 additions and 291 deletions

View File

@@ -5,7 +5,14 @@
*
* font: see http://freedesktop.org/software/fontconfig/fontconfig-user.html
*/
static char *font = "SauceCodePro Nerd Font Mono:pixelsize=15:antialias=true:autohint=true";
static char *font = "Liberation Mono:pixelsize=15:antialias=true:autohint=true";
/* Spare fonts */
static char *font2[] = {
"DejaVuSansMono Nerd Font Mono:pixelsize=14:antialias=true:autohint=true",
"Inconsolata for Powerline:pixelsize=15:antialias=true:autohint=true",
"JoyPixels:pixelsize=14:antialias=true:autohint=true"
};
static int borderpx = 2;
/*
@@ -34,7 +41,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;
@@ -87,29 +94,29 @@ char *termname = "st-256color";
*
* stty tabs
*/
unsigned int tabspaces = 4;
unsigned int tabspaces = 8;
/* Terminal colors (16 first used in escape sequence) */
static const char *colorname[] = {
/* 8 normal colors */
"#0c0d0e",
"#e31a1c",
"#31a354",
"#dca060",
"#3182db",
"#756bb1",
"#80b1d3",
"#b7b8b9",
"black",
"red3",
"green3",
"yellow3",
"blue2",
"magenta3",
"cyan3",
"gray90",
/* 8 bright colors */
"#737475",
"#e31a1c",
"#31a354",
"#dca060",
"#3182db",
"#756bb1",
"#80b1d3",
"#fcfdfe",
"gray50",
"red",
"green",
"yellow",
"#5c5cff",
"magenta",
"cyan",
"white",
[255] = 0,

View File

@@ -47,7 +47,7 @@ st-mono| simpleterm monocolor,
indn=\E[%p1%dS,
invis=\E[8m,
is2=\E[4l\E>\E[?1034l,
it#4,
it#8,
kel=\E[1;2F,
ked=\E[1;5F,
ka1=\E[1~,

360
x.c

File diff suppressed because it is too large Load Diff