aboutsummaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorMateja <mail@matejamaric.com>2021-04-08 15:24:18 +0200
committerMateja <mail@matejamaric.com>2021-04-08 15:40:20 +0200
commit081aa95b38c53b5a9ea47907496e0ff043fdffe3 (patch)
treec0be6daa9077c38ef68a545068b6704a4ede3fd4 /config.def.h
parente9bb39d56fe9982b8a1b6e3f6864a10b4a35aa51 (diff)
downloadst-081aa95b38c53b5a9ea47907496e0ff043fdffe3.tar.gz
st-081aa95b38c53b5a9ea47907496e0ff043fdffe3.zip
Switched to Fira Code font and applied `boxdraw` patch.v1.1.0
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/config.def.h b/config.def.h
index 9f622d8..42e4347 100644
--- a/config.def.h
+++ b/config.def.h
@@ -5,7 +5,7 @@
*
* font: see http://freedesktop.org/software/fontconfig/fontconfig-user.html
*/
-static char *font = "Liberation Mono:pixelsize=12:antialias=true:autohint=true";
+static char *font = "Fira Code:pixelsize=12:antialias=true:autohint=true";
static int borderpx = 2;
/*
@@ -68,6 +68,18 @@ static unsigned int blinktimeout = 800;
static unsigned int cursorthickness = 2;
/*
+ * 1: render most of the lines/blocks characters without using the font for
+ * perfect alignment between cells (U2500 - U259F except dashes/diagonals).
+ * Bold affects lines thickness if boxdraw_bold is not 0. Italic is ignored.
+ * 0: disable (render all U25XX glyphs normally from the font).
+ */
+const int boxdraw = 1;
+const int boxdraw_bold = 0;
+
+/* braille (U28XX): 1: render as adjacent "pixels", 0: use font */
+const int boxdraw_braille = 0;
+
+/*
* bell volume. It must be a value between -100 and 100. Use 0 for disabling
* it
*/