|
|
|
@ -5,7 +5,7 @@
|
|
|
|
|
*
|
|
|
|
|
* font: see http://freedesktop.org/software/fontconfig/fontconfig-user.html
|
|
|
|
|
*/
|
|
|
|
|
static char *font = "Hack Nerd Font:pixelsize=20:antialias=true:autohint=true";
|
|
|
|
|
static char *font = "Liberation Mono:pixelsize=12:antialias=true:autohint=true";
|
|
|
|
|
static int borderpx = 2;
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
@ -94,7 +94,7 @@ char *termname = "st-256color";
|
|
|
|
|
unsigned int tabspaces = 8;
|
|
|
|
|
|
|
|
|
|
/* bg opacity */
|
|
|
|
|
float alpha = 0.8;
|
|
|
|
|
float alpha = 0.8, alphaUnfocused = 0.6;
|
|
|
|
|
|
|
|
|
|
/* Terminal colors (16 first used in escape sequence) */
|
|
|
|
|
static const char *colorname[] = {
|
|
|
|
@ -125,8 +125,6 @@ static const char *colorname[] = {
|
|
|
|
|
"#555555",
|
|
|
|
|
"gray90", /* default foreground colour */
|
|
|
|
|
"black", /* default background colour */
|
|
|
|
|
"#c5c8c6", // hybrid foreground
|
|
|
|
|
"#1d1f21", // hybrid background
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -134,10 +132,11 @@ static const char *colorname[] = {
|
|
|
|
|
* Default colors (colorname index)
|
|
|
|
|
* foreground, background, cursor, reverse cursor
|
|
|
|
|
*/
|
|
|
|
|
unsigned int defaultfg = 260;
|
|
|
|
|
unsigned int defaultbg = 261;
|
|
|
|
|
unsigned int defaultfg = 258;
|
|
|
|
|
unsigned int defaultbg = 259;
|
|
|
|
|
unsigned int defaultcs = 256;
|
|
|
|
|
static unsigned int defaultrcs = 257;
|
|
|
|
|
unsigned int bg = 17, bgUnfocused = 16;
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* https://invisible-island.net/xterm/ctlseqs/ctlseqs.html#h4-Functions-using-CSI-_-ordered-by-the-final-character-lparen-s-rparen:CSI-Ps-SP-q.1D81
|
|
|
|
@ -152,8 +151,7 @@ static unsigned int defaultrcs = 257;
|
|
|
|
|
* 7: blinking st cursor
|
|
|
|
|
* 8: steady st cursor
|
|
|
|
|
*/
|
|
|
|
|
static unsigned int cursorstyle = 3;
|
|
|
|
|
static int cursorblinks = 1;
|
|
|
|
|
static unsigned int cursorstyle = 1;
|
|
|
|
|
static Rune stcursor = 0x2603; /* snowman ("☃") */
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|